Laszlo Hornyak has uploaded a new change for review.

Change subject: frontend: display memory allocated percent
......................................................................

frontend: display memory allocated percent

Changes the web administrator to display the allocated memory percent
rather than the actually used memory percent.

Change-Id: I6ea86e2085384bff603726e46806440cc7af6e88
Signed-off-by: Laszlo Hornyak <[email protected]>
---
M 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/MainTabHostView.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/16/18216/1

diff --git 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/MainTabHostView.java
 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/MainTabHostView.java
index e2b518c..4ffc768 100644
--- 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/MainTabHostView.java
+++ 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/MainTabHostView.java
@@ -141,7 +141,7 @@
         PercentColumn<VDS> memColumn = new PercentColumn<VDS>() {
             @Override
             public Integer getProgressValue(VDS object) {
-                return object.getUsageMemPercent();
+                return object.getMemCommitedPercent();
             }
         };
         getTable().addColumn(memColumn, constants.memoryHost(), "60px"); 
//$NON-NLS-1$


-- 
To view, visit http://gerrit.ovirt.org/18216
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6ea86e2085384bff603726e46806440cc7af6e88
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Laszlo Hornyak <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to