Merge pull request #50627 from AliMasarweh/wip-ali-masa-multipart-populate-etag

RGW: Solving the issue of not populating etag in Multipart upload result
Reviewed-by: Daniel Gryniewicz <dang1@ibm.com>
This commit is contained in:
Ali Masarwa 2023-05-10 15:10:12 +03:00 committed by GitHub
commit 9ac1007c60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6611,6 +6611,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();
}