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: v18.2.1~78^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bff0734ca4f851216a126a4cd94fbe6941b62da7;p=ceph-ci.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 bfe86c52d79..991f5e50d50 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -6535,6 +6535,9 @@ void RGWCompleteMultipart::complete() ldpp_dout(this, 0) << "WARNING: failed to unlock " << *serializer.get() << dendl; } } + + etag = s->object->get_attrs()[RGW_ATTR_ETAG].to_str(); + send_response(); }