]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/rest: replace RGW_FORMAT_ macros with an enum class
authorMatt Benjamin <mbenjamin@redhat.com>
Sat, 13 Aug 2022 18:29:10 +0000 (14:29 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Tue, 16 Aug 2022 17:52:42 +0000 (13:52 -0400)
commit9070c229acb762692258a8299a5ace6b53a4993f
treee5d6e517e39309fd03d113f57d59185e72dd0523
parent66d98b383ab2d8bdc6c3cf5777e645aa1d201b7f
rgw/rest: replace RGW_FORMAT_ macros with an enum class

This is a pure cleanup.  The method to print an RGWFormat object
as a MIME type is now called to_mime_type().

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
15 files changed:
src/rgw/rgw_common.cc
src/rgw/rgw_common.h
src/rgw/rgw_rest.cc
src/rgw/rgw_rest.h
src/rgw/rgw_rest_iam.cc
src/rgw/rgw_rest_iam.h
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3.h
src/rgw/rgw_rest_sts.cc
src/rgw/rgw_rest_sts.h
src/rgw/rgw_rest_swift.cc
src/rgw/rgw_rest_swift.h
src/rgw/rgw_swift_auth.cc
src/rgw/rgw_sync_module_es_rest.cc
src/rgw/rgw_sync_module_pubsub_rest.cc