]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix compilation 10554/head
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 14 Oct 2015 00:04:57 +0000 (17:04 -0700)
committerVicente Cheng <freeze.bilsted@gmail.com>
Wed, 3 Aug 2016 11:05:09 +0000 (19:05 +0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 9dfbae6d65bf6f8ab7cdf8597d556505b81cedd9)

src/rgw/rgw_json_enc.cc

index 7f8a95becafcce2128edefa80fdf77ac5251af22..e811335706756c80f5333164373c25e294a50d78 100644 (file)
@@ -747,7 +747,7 @@ void RGWRegionMap::decode_json(JSONObj *obj)
 {
   JSONDecoder::decode_json("regions", regions, obj);
   JSONDecoder::decode_json("master_region", master_region, obj);
-  JSONDecoder::decode_json("bucket_quota", bucket_quota, f);
+  JSONDecoder::decode_json("bucket_quota", bucket_quota, obj);
   JSONDecoder::decode_json("user_quota", user_quota, obj);
 }