rgw: fix empty json response when getting user quota

Fixes: #12117
Signed-off-by: wuxingyi <wuxingyi@letv.com>
This commit is contained in:
wuxingyi 2015-06-23 01:46:48 +00:00
parent 1dce70efde
commit 64fceed220

View File

@ -692,6 +692,7 @@ void RGWOp_Quota_Info::execute()
if (http_ret < 0)
return;
flusher.start(0);
if (show_all) {
UserQuotas quotas(info);
encode_json("quota", quotas, s->formatter);