mirror of
https://github.com/ceph/ceph
synced 2024-12-19 01:46:00 +00:00
rgw: fix empty json response when getting user quota
Fixes: #12117 Signed-off-by: wuxingyi <wuxingyi@letv.com>
This commit is contained in:
parent
1dce70efde
commit
64fceed220
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user