siddhantsangwan commented on code in PR #9826:
URL: https://github.com/apache/ozone/pull/9826#discussion_r2870627425


##########
hadoop-ozone/cli-admin/src/main/java/org/apache/hadoop/hdds/scm/cli/datanode/UsageInfoSubcommand.java:
##########
@@ -155,8 +155,8 @@ private void printInfo(DatanodeUsage info) {
     System.out.printf("%-24s: %s (%s) %n", "Container Pre-allocated",
         info.getCommitted() + " B", StringUtils.byteDesc(info.getCommitted()));
     System.out.printf("%-24s: %s (%s) %n", "Remaining Allocatable",
-        (info.getOzoneAvailable() - info.getCommitted()) + " B",
-        StringUtils.byteDesc((info.getOzoneAvailable() - 
info.getCommitted())));
+        info.getRemainingAllocatable() + " B",
+        StringUtils.byteDesc(info.getRemainingAllocatable()));

Review Comment:
   Best to check what recon and other places are using and use the same name 
consistently everywhere.



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