]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix decode of cls_rgw reshard types
authorCasey Bodley <cbodley@redhat.com>
Fri, 18 Dec 2020 15:46:49 +0000 (10:46 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Mon, 13 Sep 2021 16:27:49 +0000 (12:27 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/cls/rgw/cls_rgw_types.h

index cf38fdd2cfb26ef6014bb39b67f55159575fcb24..621ca896fc8e59013dc8d3d39ec56c040e47e16c 100644 (file)
@@ -1282,7 +1282,7 @@ struct cls_rgw_reshard_entry
     decode(bucket_name, bl);
     decode(bucket_id, bl);
     if (struct_v < 2) {
-      std::string new_instance_id;
+      std::string new_instance_id; // removed in v2
       decode(new_instance_id, bl);
     }
     decode(old_num_shards, bl);