From: wuxingyi Date: Tue, 23 Jun 2015 01:46:48 +0000 (+0000) Subject: rgw: fix empty json response when getting user quota X-Git-Tag: v0.94.3~14^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F5237%2Fhead;p=ceph.git rgw: fix empty json response when getting user quota Fixes: #12117 Signed-off-by: wuxingyi (cherry picked from commit 64fceed2202c94edf28b8315fe14c9affa8c0116) --- diff --git a/src/rgw/rgw_rest_user.cc b/src/rgw/rgw_rest_user.cc index 8d8485fcc004..fc46ff6646fa 100644 --- a/src/rgw/rgw_rest_user.cc +++ b/src/rgw/rgw_rest_user.cc @@ -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);