From: Casey Bodley Date: Thu, 20 Apr 2023 13:32:08 +0000 (-0400) Subject: rgw: remove RGWUserInfo::assumed_role_arn X-Git-Tag: v19.0.0~1299^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F51161%2Fhead;p=ceph.git rgw: remove RGWUserInfo::assumed_role_arn Signed-off-by: Casey Bodley --- diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index 7cabd8e4ca69..5dd26e20c174 100644 --- a/src/rgw/rgw_common.h +++ b/src/rgw/rgw_common.h @@ -560,7 +560,6 @@ struct RGWUserInfo RGWQuota quota; uint32_t type; std::set mfa_ids; - std::string assumed_role_arn; RGWUserInfo() : suspended(0), @@ -625,7 +624,10 @@ struct RGWUserInfo encode(admin, bl); encode(type, bl); encode(mfa_ids, bl); - encode(assumed_role_arn, bl); + { + std::string assumed_role_arn; // removed + encode(assumed_role_arn, bl); + } encode(user_id.ns, bl); ENCODE_FINISH(bl); } @@ -709,6 +711,7 @@ struct RGWUserInfo decode(mfa_ids, bl); } if (struct_v >= 21) { + std::string assumed_role_arn; // removed decode(assumed_role_arn, bl); } if (struct_v >= 22) {