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: v9.0.3~118^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F5033%2Fhead;p=ceph.git rgw: fix empty json response when getting user quota Fixes: #12117 Signed-off-by: wuxingyi --- diff --git a/src/rgw/rgw_rest_user.cc b/src/rgw/rgw_rest_user.cc index cfc274bc409..3f0e7d99342 100644 --- a/src/rgw/rgw_rest_user.cc +++ b/src/rgw/rgw_rest_user.cc @@ -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);