ofri masad has posted comments on this change.
Change subject: webadmin: Fix Unlimited quota is counted as -1
......................................................................
Patch Set 1: (1 inline comment)
future changes will include adding a tool-tip with the missing data (used/total)
....................................................
File
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/MainTabQuotaView.java
Line 68: allocated =
object.getGlobalQuotaVdsGroup().getMemSizeMB();
Line 69: used =
object.getGlobalQuotaVdsGroup().getMemSizeMBUsage();
Line 70: } else {
Line 71: for (QuotaVdsGroup quotaVdsGroup :
object.getQuotaVdsGroups()) {
Line 72: if
(!QuotaVdsGroup.UNLIMITED_MEM.equals(quotaVdsGroup.getMemSizeMB())) {
Not in this patch
Line 73: allocated += quotaVdsGroup.getMemSizeMB();
Line 74: used += quotaVdsGroup.getMemSizeMBUsage();
Line 75: }
Line 76: }
--
To view, visit http://gerrit.ovirt.org/12908
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I7f49bfe3576cecccf80e9ad2105506e3eb267d83
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: ofri masad <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Noam Slomianko <[email protected]>
Gerrit-Reviewer: ofri masad <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches