From: Casey Bodley Date: Fri, 18 Dec 2020 15:46:49 +0000 (-0500) Subject: rgw: fix decode of cls_rgw reshard types X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=63791f34065787d3da29cc7166aa847072274487;p=ceph.git rgw: fix decode of cls_rgw reshard types Signed-off-by: Casey Bodley --- diff --git a/src/cls/rgw/cls_rgw_types.h b/src/cls/rgw/cls_rgw_types.h index 5edff485228a2..813e1b5ef1ed4 100644 --- a/src/cls/rgw/cls_rgw_types.h +++ b/src/cls/rgw/cls_rgw_types.h @@ -1318,7 +1318,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);