Change in ovirt-engine[master]: webadmin: fix potential div by 0 in sql

awels at redhat.com awels at redhat.com
Thu Jun 2 15:12:51 UTC 2016


Alexander Wels has submitted this change and it was merged.

Change subject: webadmin: fix potential div by 0 in sql
......................................................................


webadmin: fix potential div by 0 in sql

- If you create a single VM without a disk you would
  get a div by 0 exception in the sql for the dashboard.
  This patch makes sure that doesn't happen.

Change-Id: I0e31e96f59f7749cac9fe0a51f394e97782ea60b
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1342098
Signed-off-by: Alexander Wels <awels at redhat.com>
---
M frontend/webadmin/modules/frontend/src/main/resources/org/ovirt/engine/ui/frontend/server/dashboard/dao/StorageDomainDwhDAO.properties
1 file changed, 21 insertions(+), 3 deletions(-)

Approvals:
  Alexander Wels: Verified
  Jenkins CI: Passed CI tests
  Greg Sheremeta: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0e31e96f59f7749cac9fe0a51f394e97782ea60b
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
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: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list