ChenSammi commented on code in PR #9894:
URL: https://github.com/apache/ozone/pull/9894#discussion_r2959016008


##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/protocolPB/OzoneManagerProtocolClientSideTranslatorPB.java:
##########
@@ -2433,6 +2433,9 @@ private ListStatusRequest.Builder 
createListStatusRequestBuilder(KeyArgs keyArgs
     if (allowPartialPrefixes) {
       listStatusRequestBuilder.setAllowPartialPrefix(allowPartialPrefixes);
     }
+    if (listPrefix != null && !listPrefix.isEmpty()) {

Review Comment:
   Maybe we can use args.getListPrefix() directly here, instead of pass in 
listPrefix.



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