From: Yehuda Sadeh Date: Mon, 13 Jan 2014 21:21:27 +0000 (-0800) Subject: radosgw-admin: dump header when requested for user stats X-Git-Tag: v0.78~270^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d9920439e27edc0d73f97891d15272ec0df7259c;p=ceph.git radosgw-admin: dump header when requested for user stats header also contains sync timestamps, so we should dump it. Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 4c1924e4ce0f..5a0738e1d691 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -1987,7 +1987,7 @@ next: return -ret; } - encode_json("stats", header.stats, formatter); + encode_json("header", header, formatter); formatter->flush(cout); }