From: Henry Chang Date: Wed, 22 Apr 2015 10:26:45 +0000 (+0800) Subject: rgw: fix ListParts response X-Git-Tag: v9.0.1~49^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=caa9f0e461f1eed526fc43ee74699a7243aef9b8;p=ceph.git rgw: fix ListParts response The response XML element name should be 'ListPartsResult'. Fixes: #11494 Signed-off-by: Henry Chang --- diff --git a/src/rgw/rgw_rest_s3.cc b/src/rgw/rgw_rest_s3.cc index bca45331240b..768766f8892c 100644 --- a/src/rgw/rgw_rest_s3.cc +++ b/src/rgw/rgw_rest_s3.cc @@ -1737,7 +1737,7 @@ void RGWListMultipart_ObjStore_S3::send_response() if (ret == 0) { dump_start(s); - s->formatter->open_object_section_in_ns("ListMultipartUploadResult", + s->formatter->open_object_section_in_ns("ListPartsResult", "http://s3.amazonaws.com/doc/2006-03-01/"); map::iterator iter; map::reverse_iterator test_iter;