]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: fix object policy read op
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 6 Jan 2014 20:53:58 +0000 (12:53 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Mon, 17 Feb 2014 05:53:28 +0000 (21:53 -0800)
commitc1f42770f45205c8a3eae774d09e747408130c50
tree0b0357a4e22c9d778c92bd30cfab4e7a29cab7d0
parent404500811adc74c79583bbf3122dc333e0b41b51
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>
(cherry picked from commit b1976dd00f5b29c01791272f63a18250319f2edb)
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h