]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: check for non-existent bucket in RGWGetACLs 26212/head
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 30 Jan 2019 19:09:47 +0000 (14:09 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 30 Jan 2019 21:56:39 +0000 (16:56 -0500)
commit078981ca4ef1610ab89b60f4c281f521d6838a37
treed354222c1c631c92132ea3148ad27cf58f897d68
parent93094a523040c76a56957b366debf5f3405994aa
rgw: check for non-existent bucket in RGWGetACLs

Fix incorrect result when attempting to fetch an ACL for a
bucket that does not exist.

This change leads to a NoSuchBucket error result when an ACL is
requested from a non-existent bucket.  A NoSuchKey error result
iss already seen when the target was an object.

Fixes: https://tracker.ceph.com/issues/38116
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_op.cc