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

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Tue May 31 08:13:32 UTC 2016


Piotr Kliczewski 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; Passed CI tests
  Jenkins CI: Passed CI tests
  Marek Libra: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7046457082ecd3099c31c4fc4c18f286a16a5c25
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Marek Libra <mlibra at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.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