]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
radosgw-admin: dump header when requested for user stats
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 13 Jan 2014 21:21:27 +0000 (13:21 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 24 Jan 2014 18:28:52 +0000 (10:28 -0800)
header also contains sync timestamps, so we should dump it.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_admin.cc

index 4c1924e4ce0fb288898f1d6cd30095d4a6a67d67..5a0738e1d6914e9994c996058504a1a0222dccc3 100644 (file)
@@ -1987,7 +1987,7 @@ next:
       return -ret;
     }
 
-    encode_json("stats", header.stats, formatter);
+    encode_json("header", header, formatter);
     formatter->flush(cout);
   }