Change in ovirt-engine[master]: userportal: division by zero in resource allocation tab

tjelinek at redhat.com tjelinek at redhat.com
Tue May 31 07:36:43 UTC 2016


Tomas Jelinek has submitted this change and it was merged.

Change subject: userportal: division by zero in resource allocation tab
......................................................................


userportal: division by zero in resource allocation tab

If the user has no VMs accessible in userportal, going to resource allocation
tab fails on division by zero.

Fixed the same way as in other parts of this tab, just setting 0.

Change-Id: I7046457082ecd3099c31c4fc4c18f286a16a5c25
Bug-Url: https://bugzilla.redhat.com/1339649
Signed-off-by: Tomas Jelinek <tjelinek at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/resources/ResourcesModel.java
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Tomas Jelinek: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests
  Marek Libra: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7046457082ecd3099c31c4fc4c18f286a16a5c25
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Marek Libra <mlibra at redhat.com>
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list