akhilpb001 commented on a change in pull request #49:
URL: 
https://github.com/apache/incubator-yunikorn-web/pull/49#discussion_r529224832



##########
File path: src/app/utils/common.util.ts
##########
@@ -33,18 +33,18 @@ export class CommonUtil {
     let unit = 'MB';
     let toValue = +value;
 
-    if (toValue / 1024 >= 0.9) {
-      toValue = toValue / 1024;
+    if (toValue / 1000 >= 1) {
+      toValue = toValue / 1000;

Review comment:
       @wilfred-s  @yangwwei  Could you please confirm that we are getting 
memory in MB (not in MiB) by checking the shim source code?




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to