]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix empty json response when getting user quota 5033/head
authorwuxingyi <wuxingyi@letv.com>
Tue, 23 Jun 2015 01:46:48 +0000 (01:46 +0000)
committerwuxingyi <wuxingyi@letv.com>
Tue, 23 Jun 2015 01:46:48 +0000 (01:46 +0000)
Fixes: #12117
Signed-off-by: wuxingyi <wuxingyi@letv.com>
src/rgw/rgw_rest_user.cc

index cfc274bc4090f992d0df7e5dbad60d95b7df6c47..3f0e7d99342b7de1f25ad4d274a5c1d4c0a51ff5 100644 (file)
@@ -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);