Skip to content

Commit

Permalink
rgw: fix the max-uploads parameter not work
Browse files Browse the repository at this point in the history
fix http://tracker.ceph.com/issues/22825

Signed-off-by: Xin Liao <liaoxinbit@gmail.com>
(cherry picked from commit 2ff9ea1)
  • Loading branch information
liaoxin01 authored and Prashant D committed Feb 19, 2018
1 parent 74c89b9 commit e032160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_rest.cc
Expand Up @@ -1680,7 +1680,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
Expand Down

0 comments on commit e032160

Please sign in to comment.