Gargi-jais11 commented on code in PR #10586:
URL: https://github.com/apache/ozone/pull/10586#discussion_r3568285728


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java:
##########
@@ -1095,11 +1095,11 @@ public ListKeysResult listKeys(String volumeName, 
String bucketName,
     } else {
       // This allows us to seek directly to the first key with the right 
prefix.
       seekKey = getOzoneKey(volumeName, bucketName,
-          StringUtils.isNotBlank(keyPrefix) ? keyPrefix : OM_KEY_PREFIX);
+          StringUtils.isNotEmpty(keyPrefix) ? keyPrefix : OM_KEY_PREFIX);

Review Comment:
   Thanks for pointing out this. Added the test case.



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