]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Solving the issue of not populating etag in Multipart update result 50627/head
authorAli Masarwa <ali.saed.masarwa@gmail.com>
Mon, 20 Mar 2023 16:42:30 +0000 (18:42 +0200)
committerAli Masarwa <ali.saed.masarwa@gmail.com>
Thu, 23 Mar 2023 09:20:33 +0000 (11:20 +0200)
Signed-off-by: Ali Masarwa <ali.saed.masarwa@gmail.com>
src/rgw/rgw_op.cc

index 513cb20bc69a239d15de1b166155bdad4283d014..b3bcc0a9fb130bdf60aef64f042206ee0339937d 100644 (file)
@@ -6575,6 +6575,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();
 }