]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fail when get/set-bucket-versioning attempted on a non-existent bucket 36188/head
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 24 Feb 2020 22:56:49 +0000 (17:56 -0500)
committerNathan Cutler <ncutler@suse.com>
Sat, 18 Jul 2020 20:26:03 +0000 (22:26 +0200)
commit8af9f11bfee854c9cda44ac80fe9d0d19435237e
tree5d5da1c8f6f77f9ce59a4e63b9add096324600a9
parentebb3b88fa355f722566c51bd067c51fed0e1c497
rgw: fail when get/set-bucket-versioning attempted on a non-existent bucket

These should not succeed, but fail w/HTTP 404 and NoSuchBucket as
the API error.

Fixes: https://tracker.ceph.com/issues/44280
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 350dd304c6daae00dbe8781d855393e5b40f0218)
src/rgw/rgw_op.cc
src/rgw/rgw_rest_s3.cc