mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
rgw: different test for multi object delete
We need to check for the existence of the sub-resource. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
This commit is contained in:
parent
b74b0f905f
commit
67535f2dc1
@ -726,7 +726,7 @@ RGWOp *RGWHandler_REST_S3::get_post_op()
|
||||
else
|
||||
return new RGWInitMultipart_REST_S3;
|
||||
}
|
||||
else if ( s->request_params == "delete" ) {
|
||||
else if (s->args.sub_resource_exists("delete")) {
|
||||
return new RGWDeleteMultiObj_REST_S3;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user