Change in ovirt-engine[ovirt-engine-4.0.2]: webadmin: Make sure used is always <= total

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Wed Jul 27 19:52:58 UTC 2016


Piotr Kliczewski 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 at 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
  Greg Sheremeta: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/61577
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I792c3bebee465bc2a0d80aae7a12a76e7c34ad88
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0.2
Gerrit-Owner: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Greg Sheremeta <gshereme at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list