summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-10-02 15:35:43 -0700
committerYehuda Sadeh <yehuda@inktank.com>2013-10-02 15:35:43 -0700
commitebae077a6254f810c1999907a5f369575020c5e0 (patch)
tree14215773959bdf802f6dfadad575db3e337cb689
parentbaf1d409a6953000036ca8c188441c17688c9dbd (diff)
downloadceph-ebae077a6254f810c1999907a5f369575020c5e0.tar.gz
rgw: bucket stats also dump quota info
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r--src/rgw/rgw_bucket.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_bucket.cc b/src/rgw/rgw_bucket.cc
index 5356417f09a..3267bc51948 100644
--- a/src/rgw/rgw_bucket.cc
+++ b/src/rgw/rgw_bucket.cc
@@ -901,6 +901,7 @@ static int bucket_stats(RGWRados *store, std::string& bucket_name, Formatter *f
formatter->dump_int("mtime", mtime);
formatter->dump_string("max_marker", max_marker);
dump_bucket_usage(stats, formatter);
+ encode_json("bucket_quota", bucket_info.quota, formatter);
formatter->close_section();
return 0;