Tal Nisan has submitted this change and it was merged.
Change subject: Dashboard: no hosts
......................................................................
Dashboard: no hosts
- When the system doesn't have any hosts/storage domains defined
yet, the donuts were showing invalid values instead of 0, this
patch fixes the data generated by the servlet to return 0
when no hosts or storage domains are available.
Change-Id: Ic925633eabdd3875a144bda05523fa4990028c7d
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1337606
Signed-off-by: Alexander Wels <awels(a)redhat.com>
---
M
frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/server/dashboard/GlobalUtilizationCpuSummary.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/58097
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic925633eabdd3875a144bda05523fa4990028c7d
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
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: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>