]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/pubsub: use existing s->bucket for notification ops
authorCasey Bodley <cbodley@redhat.com>
Tue, 12 Mar 2024 16:46:40 +0000 (12:46 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 12 Apr 2024 19:34:30 +0000 (15:34 -0400)
commit9e87a75f21f927cc185dd8d5eb742aaa55ae2cbf
treeee0d679a879fa1406172e18a018382bd4bb53691
parentf7a748439657ab6e7df8cedc4b17d27abc5cd7f8
rgw/pubsub: use existing s->bucket for notification ops

s->bucket is already initialized during rgw_build_bucket_policies(),
called from RGWHandler::do_init_permissions()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 537a87d7ae7c88aa4be077d236e74f6e3094b599)
src/rgw/rgw_rest_pubsub.cc