]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove RGWUserInfo::assumed_role_arn 52051/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 20 Apr 2023 13:32:08 +0000 (09:32 -0400)
committerMykola Golub <mgolub@suse.com>
Wed, 14 Jun 2023 12:17:02 +0000 (15:17 +0300)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit af5f9cabb90e574c6fab33f1c9273cc868c6da22)

Conflicts:
src/rgw/rgw_common.h (trivial)

src/rgw/rgw_common.h

index a068f145596718e59ebcf4a3f5c0c31baf42168e..94e2978faac13ce0df83901e07322838e4c1c99e 100644 (file)
@@ -685,7 +685,6 @@ struct RGWUserInfo
   RGWQuotaInfo user_quota;
   uint32_t type;
   set<string> mfa_ids;
-  string assumed_role_arn;
 
   RGWUserInfo()
     : suspended(0),
@@ -750,7 +749,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);
   }
@@ -834,6 +836,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) {