ChenSammi commented on code in PR #11975:
URL: https://github.com/apache/ozone/pull/11975#discussion_r4536381376
##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/S3LifecycleConfiguration.java:
##########
@@ -498,6 +501,11 @@ private OmLifecycleRuleAndOperator
convertToOmAndOperator(AndOperator andOperato
}
if (andOperator.getTags() != null) {
Map<String, String> tags = andOperator.getTags().stream()
+ .peek(tag -> {
Review Comment:
can we use map here to replace peek?
--
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]