adoroszlai commented on code in PR #6519:
URL: https://github.com/apache/ozone/pull/6519#discussion_r1567277516
##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/BucketEndpoint.java:
##########
@@ -709,7 +710,10 @@ private void addKey(ListObjectResponse response, OzoneKey
next) {
keyMetadata.setKey(EncodingTypeObject.createNullable(next.getName(),
response.getEncodingType()));
keyMetadata.setSize(next.getDataSize());
- keyMetadata.setETag("" + next.getModificationTime());
+ String eTag = next.getMetadata().get(ETAG);
+ if (eTag != null) {
+ keyMetadata.setETag(eTag);
Review Comment:
Thanks for the pointers. Updated to wrap in quotes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]