]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fixes BucketInfo for missing buckets
authorNick Janus <nickjanus@gmail.com>
Thu, 30 Apr 2020 16:22:33 +0000 (12:22 -0400)
committerNathan Cutler <ncutler@suse.com>
Fri, 15 Jan 2021 10:45:41 +0000 (11:45 +0100)
commitea8c67487d5dfb5f8e60244b197848fc63458322
treeab1555abd43e5440fd565efb84810ce872b74dc5
parent6d4e43d2dc7a0706a079a6cc49169ec53ebd7a30
rgw: fixes BucketInfo for missing buckets

The admin api BucketInfo endpoint should now return 404 for buckets that
are not found where only the bucket name is passed as a parameter.

Fixes: https://tracker.ceph.com/issues/45193
Signed-off-by: Nick Janus <njanus@digitalocean.com>
(cherry picked from commit d70ca81502d25bd7a76dd2ed2a538bf5e6584822)

Conflicts:
        src/rgw/rgw_bucket.cc
- omitted null_yield parameter from bucket.init() call for nautilus purposes
qa/tasks/radosgw_admin_rest.py
src/rgw/rgw_bucket.cc