]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix empty json response when getting user quota 5237/head
authorwuxingyi <wuxingyi@letv.com>
Tue, 23 Jun 2015 01:46:48 +0000 (01:46 +0000)
committerAbhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Tue, 14 Jul 2015 12:17:05 +0000 (17:47 +0530)
Fixes: #12117
Signed-off-by: wuxingyi <wuxingyi@letv.com>
(cherry picked from commit 64fceed2202c94edf28b8315fe14c9affa8c0116)

src/rgw/rgw_rest_user.cc

index 8d8485fcc004e9236f084d946154b4f07ddcafc7..fc46ff6646fad6c7f742bd1638abe47452be7542 100644 (file)
@@ -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);