]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix RGWZone::dump
authorOrit Wasserman <owasserm@redhat.com>
Wed, 14 Oct 2015 13:25:45 +0000 (15:25 +0200)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:13:09 +0000 (16:13 -0800)
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
src/rgw/rgw_json_enc.cc

index 6da565f263ddb1f879fa41ff0befcabef6f8b003..704a6dad2d9e98f21b4bc99a181b7a0cda276db9 100644 (file)
@@ -828,7 +828,7 @@ void RGWZoneParams::decode_json(JSONObj *obj)
 
 void RGWZone::dump(Formatter *f) const
 {
-  encode_json("id", name, f);
+  encode_json("id", id, f);
   encode_json("name", name, f);
   encode_json("endpoints", endpoints, f);
   encode_json("log_meta", log_meta, f);