From: Abhishek Lekshmanan Date: Mon, 17 Jul 2017 12:02:09 +0000 (+0200) Subject: rgw: dump the reshard pool in rgw zone params json X-Git-Tag: v12.1.2~226^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a0d81499302391d3ef0554186f2bbee90ca973a9;p=ceph-ci.git rgw: dump the reshard pool in rgw zone params json So that the zone get/put commands display the reshard pool as well Signed-off-by: Abhishek Lekshmanan --- diff --git a/src/rgw/rgw_json_enc.cc b/src/rgw/rgw_json_enc.cc index 9fb688c8873..4792e62c356 100644 --- a/src/rgw/rgw_json_enc.cc +++ b/src/rgw/rgw_json_enc.cc @@ -904,6 +904,7 @@ void RGWZoneParams::dump(Formatter *f) const encode_json("log_pool", log_pool, f); encode_json("intent_log_pool", intent_log_pool, f); encode_json("usage_log_pool", usage_log_pool, f); + encode_json("reshard_pool", reshard_pool, f); encode_json("user_keys_pool", user_keys_pool, f); encode_json("user_email_pool", user_email_pool, f); encode_json("user_swift_pool", user_swift_pool, f); @@ -944,6 +945,7 @@ void RGWZoneParams::decode_json(JSONObj *obj) JSONDecoder::decode_json("lc_pool", lc_pool, obj); JSONDecoder::decode_json("log_pool", log_pool, obj); JSONDecoder::decode_json("intent_log_pool", intent_log_pool, obj); + JSONDecoder::decode_json("reshard_pool", reshard_pool, obj); JSONDecoder::decode_json("usage_log_pool", usage_log_pool, obj); JSONDecoder::decode_json("user_keys_pool", user_keys_pool, obj); JSONDecoder::decode_json("user_email_pool", user_email_pool, obj);