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: v10.2.3~13^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dc50687f9ee7291192b2291c3c5770c46c852677;p=ceph.git rgw: add tenant to rgw_bucket json format Signed-off-by: Casey Bodley (cherry picked from commit fc0df4802b48fa095587b93557c82da5446d9ca3) --- diff --git a/src/rgw/rgw_json_enc.cc b/src/rgw/rgw_json_enc.cc index cd4a0f5e3770..4a4e84bd9afa 100644 --- a/src/rgw/rgw_json_enc.cc +++ b/src/rgw/rgw_json_enc.cc @@ -506,6 +506,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) { @@ -515,6 +516,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