]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: fix object policy read op 1050/head
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 6 Jan 2014 20:53:58 +0000 (12:53 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Mon, 6 Jan 2014 20:53:58 +0000 (12:53 -0800)
commitb1976dd00f5b29c01791272f63a18250319f2edb
tree1f18e420fe57eaba29d08e2dccd97ebe82e26632
parent6663a5eee3cada49c0309263be0b32ef8e5e2adc
radosgw-admin: fix object policy read op

Fixes: #7083
This was broken when we fixed #6940. We use the same function to both
read the bucket policy and the object policy. However, each needed to be
treated differently. Restore old behavior for objects.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h