From 64fceed2202c94edf28b8315fe14c9affa8c0116 Mon Sep 17 00:00:00 2001 From: wuxingyi Date: Tue, 23 Jun 2015 01:46:48 +0000 Subject: [PATCH] rgw: fix empty json response when getting user quota Fixes: #12117 Signed-off-by: wuxingyi --- src/rgw/rgw_rest_user.cc | 1 + 1 file changed, 1 insertion(+) 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);