Gilad Chaplik has submitted this change and it was merged.
Change subject: webadmin: Fix Unlimited quota is counted as -1
......................................................................
webadmin: Fix Unlimited quota is counted as -1
In the quota main tab, when using specific quota which includes at least
one unlimited cluster/storage-domain, the unlimited quota is counted as
-1 (the int value of the constant).
Fixed calculation to ignore both the consumption and the allocation of
unlimited quota.
Change-Id: I7f49bfe3576cecccf80e9ad2105506e3eb267d83
Bug-Url:
https://bugzilla.redhat.com/919088
Signed-off-by: Ofri Masad <omasad(a)redhat.com>
---
M
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/MainTabQuotaView.java
1 file changed, 24 insertions(+), 12 deletions(-)
Approvals:
Gilad Chaplik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/12908
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7f49bfe3576cecccf80e9ad2105506e3eb267d83
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: ofri masad <omasad(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Noam Slomianko <nslomian(a)redhat.com>
Gerrit-Reviewer: ofri masad <omasad(a)redhat.com>