From: Bingyin Zhang Date: Wed, 3 Jan 2018 07:49:51 +0000 (+0800) Subject: rgw: format rgw_bucket_dir_header in ceph-dencoder X-Git-Tag: wip-pdonnell-testing-20180317.202121~605^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=07c30aafb40fdd1843ea86b5d8a82fc04f8a65ba;p=ceph-ci.git rgw: format rgw_bucket_dir_header in ceph-dencoder * "new_instance" doesn't belong to field "stats", so put it in another section Signed-off-by: Bingyin Zhang --- diff --git a/src/cls/rgw/cls_rgw_types.cc b/src/cls/rgw/cls_rgw_types.cc index 7607dcd7799..234384f2745 100644 --- a/src/cls/rgw/cls_rgw_types.cc +++ b/src/cls/rgw/cls_rgw_types.cc @@ -527,8 +527,8 @@ void rgw_bucket_dir_header::dump(Formatter *f) const iter->second.dump(f); f->close_section(); } - ::encode_json("new_instance", new_instance, f); f->close_section(); + ::encode_json("new_instance", new_instance, f); } void rgw_bucket_dir::generate_test_instances(list& o)