]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/iam: Policy() takes string instead of bufferlist
authorCasey Bodley <cbodley@redhat.com>
Thu, 1 Feb 2024 18:10:00 +0000 (13:10 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 12 Apr 2024 19:34:28 +0000 (15:34 -0400)
commitd227628355c288ababc405f1b3ec291a460e3fab
treec6c25e8e571721e203b9b68a4670abc2ca8aabd5
parent268a487d35f7bf0e449ba9d997d4b5993f3d443a
rgw/iam: Policy() takes string instead of bufferlist

the constructor immediately called bufferlist::to_str() to convert it
into a string; just take string so callers don't have to convert it

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit db09c0956a531ad8c026e9b5f924ab32bfb95514)
12 files changed:
src/rgw/rgw_admin.cc
src/rgw/rgw_auth.cc
src/rgw/rgw_iam_policy.cc
src/rgw/rgw_iam_policy.h
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_polparser.cc
src/rgw/rgw_rest_pubsub.cc
src/rgw/rgw_rest_role.cc
src/rgw/rgw_rest_sts.cc
src/rgw/rgw_rest_user_policy.cc
src/test/rgw/test_rgw_iam_policy.cc