]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Fix interface of RGWSI_Zone::find_zone
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 30 Jun 2022 17:44:24 +0000 (13:44 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Sun, 17 Jul 2022 04:42:55 +0000 (00:42 -0400)
commit6a5db033ad9cd82142f90f13897ff087c7e1c116
tree6cc201ff7107000c2f5ac6402a3ca835fe57034c
parentdcc92e07b2557170293e55675763614717c12d98
rgw: Fix interface of RGWSI_Zone::find_zone

Since nullable pointers are nullable, it makes no sense to return a
bool and take a nullable pointer out parameter.

Just return the pointer.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_admin.cc
src/rgw/rgw_data_sync.cc
src/rgw/rgw_rest_s3.cc
src/rgw/services/svc_zone.cc
src/rgw/services/svc_zone.h