Kobi Ianko has uploaded a new change for review.

Change subject: webadmin: Removing exceeded labal from quota with 100% of use.
......................................................................

webadmin: Removing exceeded labal from quota with 100% of use.

When a quota in using 100% of its resources, it is marked as exceeded.
Removing that, only when quota is over the 100% mark, set it as exceeded.

Change-Id: I69806a25695327d9bf23f5553f38b4f0b09f5e72
Bug-Url: https://bugzilla.redhat.com/1097223
Signed-off-by: Kobi Ianko <[email protected]>
---
M 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/table/column/QuotaPercentColumn.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/23/28123/1

diff --git 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/table/column/QuotaPercentColumn.java
 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/table/column/QuotaPercentColumn.java
index 728f778..f869f9f 100644
--- 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/table/column/QuotaPercentColumn.java
+++ 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/table/column/QuotaPercentColumn.java
@@ -16,7 +16,7 @@
     @Override
     protected String getProgressText(T object) {
         Integer progressValue = getProgressValue(object);
-        if (progressValue != null && progressValue >= 100) {
+        if (progressValue != null && progressValue > 100) {
             return getaApplicationConstants().exceeded();
         }
         if (progressValue != null && progressValue < 0) {


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

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

Reply via email to