Skip to content

Commit

Permalink
rgw: fix empty json response when getting user quota
Browse files Browse the repository at this point in the history
Fixes: #12117
Signed-off-by: wuxingyi <wuxingyi@letv.com>
(cherry picked from commit 64fceed)
  • Loading branch information
wuxingyi authored and theanalyst committed Jul 14, 2015
1 parent 9a79e8e commit e50caab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rgw/rgw_rest_user.cc
Expand Up @@ -693,6 +693,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);
Expand Down

0 comments on commit e50caab

Please sign in to comment.