diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index f8ee1924eca..c781eb9ffd4 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -2995,7 +2995,8 @@ void RGWDeleteObj::execute() return; } - rgw_obj obj(s->bucket, s->object); + rgw_obj obj(s->bucket, s->object.name); + obj.set_instance(s->object.instance); map attrs;