rich7420 commented on code in PR #11372:
URL: https://github.com/apache/ozone/pull/11372#discussion_r4145330658


##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/BucketLifecycleHandler.java:
##########
@@ -103,23 +106,25 @@ protected void 
deleteLifecycleConfiguration(S3RequestContext context, String buc
     }
   }
 
-  private void verifyBucketOwner(S3RequestContext context, String bucketName) 
throws OS3Exception {
+  private OzoneBucket verifyBucketOwner(S3RequestContext context, String 
bucketName) throws OS3Exception {

Review Comment:
   Thanks! The PUT change is already prepared under 
[HDDS-16649](https://issues.apache.org/jira/browse/HDDS-16649). GET was 
addressed in #11355, which is merged and calls `ClientProtocol` directly 
without the extra bucket lookup.



-- 
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]

Reply via email to