From: Casey Bodley Date: Thu, 30 Jun 2016 21:42:54 +0000 (-0400) Subject: rgw: add tenant to rgw_bucket json format X-Git-Tag: v11.0.1~784^2~5 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=fc0df4802b48fa095587b93557c82da5446d9ca3;p=ceph-ci.git rgw: add tenant to rgw_bucket json format Signed-off-by: Casey Bodley --- diff --git a/src/rgw/rgw_json_enc.cc b/src/rgw/rgw_json_enc.cc index 85d691eac2f..78be0a13f84 100644 --- a/src/rgw/rgw_json_enc.cc +++ b/src/rgw/rgw_json_enc.cc @@ -519,6 +519,7 @@ void rgw_bucket::dump(Formatter *f) const encode_json("index_pool", index_pool, f); encode_json("marker", marker, f); encode_json("bucket_id", bucket_id, f); + encode_json("tenant", tenant, f); } void rgw_bucket::decode_json(JSONObj *obj) { @@ -528,6 +529,7 @@ void rgw_bucket::decode_json(JSONObj *obj) { JSONDecoder::decode_json("index_pool", index_pool, obj); JSONDecoder::decode_json("marker", marker, obj); JSONDecoder::decode_json("bucket_id", bucket_id, obj); + JSONDecoder::decode_json("tenant", tenant, obj); } void RGWBucketEntryPoint::dump(Formatter *f) const