0lai0 commented on code in PR #9286:
URL: https://github.com/apache/ozone/pull/9286#discussion_r3124200891


##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/BucketEndpoint.java:
##########
@@ -118,6 +121,17 @@ Response handleGetRequest(S3RequestContext context, String 
bucketName) throws IO
     OzoneBucket bucket = null;
 
     try {
+      if (prefix == null) {
+        prefix = "";
+      }
+      final String uploads = queryParams().get(QueryParams.UPLOADS);
+      if (uploads != null) {

Review Comment:
   Thanks @adoroszlai for review. I removed the unreachable branch from 
BucketEndpoint#handleGetRequest and kept ListMultipartUploadsHandler as the 
single handler for this request.



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