Skip to content

Commit

Permalink
HDDS-11408. Address review comments
Browse files Browse the repository at this point in the history
Change-Id: Ia69b99aef696fa20f299670b1fdcc3f790ca8e19
  • Loading branch information
swamirishi committed Sep 20, 2024
1 parent 063f7b7 commit 302491d
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -694,9 +694,6 @@ private Optional<String> getBucketPrefix(String volumeName, String bucketName, b
throw new IOException("One of volume : " + volumeName + ", bucket: " + bucketName + " is empty." +
" Either both should be empty or none of the arguments should be empty");
}
if (StringUtils.isEmpty(bucketName)) {
bucketName = "";
}
return isFSO ? Optional.of(metadataManager.getBucketKeyPrefixFSO(volumeName, bucketName)) :
Optional.of(metadataManager.getBucketKeyPrefix(volumeName, bucketName));
}
Expand Down

0 comments on commit 302491d

Please sign in to comment.