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


##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -2475,11 +2475,22 @@ public void abortMultipartUpload(String volumeName,
     ozoneManagerClient.abortMultipartUpload(omKeyArgs);
   }
 
+  private String resolveS3VolumeForMultipartListing(String volumeName) throws 
IOException {
+    if (volumeName == null) {
+      if 
(OzoneManagerVersion.S3_VOLUME_CONTEXT_RESOLUTION.isSupportedBy(getOmVersion()))
 {
+        return null;
+      }
+      volumeName = getS3VolumeContext().getOmVolumeArgs().getVolume();
+    }
+    verifyVolumeName(volumeName);
+    return volumeName;

Review Comment:
   Good point. 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