Russole commented on code in PR #11973:
URL: https://github.com/apache/ozone/pull/11973#discussion_r4572829283


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/protocolPB/OzoneManagerRequestHandler.java:
##########
@@ -1067,14 +1067,16 @@ private ServiceListResponse 
getServiceList(ServiceListRequest request)
   }
 
   private MultipartUploadListPartsResponse listParts(
-      MultipartUploadListPartsRequest multipartUploadListPartsRequest)
+      MultipartUploadListPartsRequest multipartUploadListPartsRequest, boolean 
assumeS3Context)
       throws IOException {
 
     MultipartUploadListPartsResponse.Builder response =
         MultipartUploadListPartsResponse.newBuilder();
 
+    String volumeName = assumeS3Context
+        ? impl.getS3VolumeContext(true).getOmVolumeArgs().getVolume() : 
multipartUploadListPartsRequest.getVolume();

Review Comment:
   Agreed. Updated.



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