From: liaoxin01 Date: Mon, 29 Jan 2018 06:40:01 +0000 (+0800) Subject: rgw: fix the max-uploads parameter not work X-Git-Tag: v10.2.11~97^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F20479%2Fhead;p=ceph.git rgw: fix the max-uploads parameter not work fix http://tracker.ceph.com/issues/22825 Signed-off-by: Xin Liao (cherry picked from commit 2ff9ea1568c4f5bd2bccbaa63eee3b58ebb9ca52) --- diff --git a/src/rgw/rgw_rest.cc b/src/rgw/rgw_rest.cc index 2c7049580582b..104922071a709 100644 --- a/src/rgw/rgw_rest.cc +++ b/src/rgw/rgw_rest.cc @@ -1282,7 +1282,7 @@ int RGWListBucketMultiparts_ObjStore::get_params() { delimiter = s->info.args.get("delimiter"); prefix = s->info.args.get("prefix"); - string str = s->info.args.get("max-parts"); + string str = s->info.args.get("max-uploads"); if (!str.empty()) max_uploads = atoi(str.c_str()); else