diff options
author | Yehuda Sadeh <yehuda@inktank.com> | 2013-10-02 16:08:49 -0700 |
---|---|---|
committer | Yehuda Sadeh <yehuda@inktank.com> | 2013-10-02 16:08:49 -0700 |
commit | 69180d5d6a87b5256576eb9ad31cb554ee3d2caf (patch) | |
tree | 82a0c39702abd2f442137aa55fc1f8c0e05251f5 | |
parent | ebae077a6254f810c1999907a5f369575020c5e0 (diff) | |
download | ceph-69180d5d6a87b5256576eb9ad31cb554ee3d2caf.tar.gz |
rgw: dump quota params even if disabled
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r-- | src/rgw/rgw_json_enc.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/rgw/rgw_json_enc.cc b/src/rgw/rgw_json_enc.cc index 596c31cf8b3..4d6b25374b9 100644 --- a/src/rgw/rgw_json_enc.cc +++ b/src/rgw/rgw_json_enc.cc @@ -453,10 +453,8 @@ void RGWUserInfo::decode_json(JSONObj *obj) void RGWQuotaInfo::dump(Formatter *f) const { f->dump_bool("enabled", enabled); - if (enabled) { - f->dump_int("max_size_kb", max_size_kb); - f->dump_int("max_objects", max_objects); - } + f->dump_int("max_size_kb", max_size_kb); + f->dump_int("max_objects", max_objects); } void RGWQuotaInfo::decode_json(JSONObj *obj) |