tanvipenumudy commented on code in PR #6991:
URL: https://github.com/apache/ozone/pull/6991#discussion_r1694689966


##########
hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicRootedOzoneFileSystem.java:
##########
@@ -799,14 +798,13 @@ private boolean deleteBucket(Path f, boolean recursive, 
OFSPath ofsPath)
     // if so, the contents of bucket were deleted and skip delete bucket
     // otherwise, Handle delete bucket
     if (!handleTrailingSlash) {
-      deleteBucketFromVolume(f, ofsPath);
+      deleteBucketFromVolume(f, bucket);
     }
     return result;
   }
 
-  private boolean isLinkBucket(Path f, OFSPath ofsPath) {
+  private boolean isLinkBucket(Path f, OzoneBucket bucket) {
     try {

Review Comment:
   Thank you @adoroszlai for the review, made the suggested changes!



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