Alexander Wels has submitted this change and it was merged.
Change subject: webadmin: Make sure used is always <= total
......................................................................
webadmin: Make sure used is always <= total
- In certain situations it is possible that the DWH is
reporting used > 0 while total = 0. This patch makes
sure that used can never be higher than total.
Change-Id: I792c3bebee465bc2a0d80aae7a12a76e7c34ad88
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1360403
Signed-off-by: Alexander Wels <awels(a)redhat.com>
---
M
frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/server/dashboard/GlobalUtilizationResourceSummary.java
1 file changed, 5 insertions(+), 1 deletion(-)
Approvals:
Alexander Wels: Verified
Jenkins CI: Passed CI tests
Oved Ourfali: Looks good to me, approved
--
To view, visit
https://gerrit.ovirt.org/61419
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I792c3bebee465bc2a0d80aae7a12a76e7c34ad88
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alexander Wels <awels(a)redhat.com>
Gerrit-Reviewer: Alexander Wels <awels(a)redhat.com>
Gerrit-Reviewer: Greg Sheremeta <gshereme(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>