GeorgeJahad commented on code in PR #3309:
URL: https://github.com/apache/ozone/pull/3309#discussion_r943638471


##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/types/NSSummary.java:
##########
@@ -93,7 +92,7 @@ public void setChildDir(Set<Long> childDir) {
   }
 
   public void setDirName(String dirName) {
-    this.dirName = dirName;
+    this.dirName = removeTrailingSlashIfNeeded(dirName);

Review Comment:
   Yes, I believe it is correct and should be there for Legacy buckets.  A lot 
of legacy logic depends on the correct placement of that slash.  
   
   Moving it to the legacy PR should be fine.



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