From: Ali Masarwa Date: Mon, 20 Mar 2023 16:42:30 +0000 (+0200) Subject: Solving the issue of not populating etag in Multipart update result X-Git-Tag: v17.2.8~203^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3fb3065e05dd6581f9ae4eefc51f7f2a7d2a58b8;p=ceph.git Solving the issue of not populating etag in Multipart update result Signed-off-by: Ali Masarwa (cherry picked from commit 2b13cd90951891bf9767f168653a896d94ca056c) --- diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index 09cfa355759c2..56ed7f2161575 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -6464,6 +6464,9 @@ void RGWCompleteMultipart::complete() ldpp_dout(this, 0) << "WARNING: failed to unlock " << serializer->oid << dendl; } } + + etag = s->object->get_attrs()[RGW_ATTR_ETAG].to_str(); + send_response(); }