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

Oved Ourfali 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@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/58572 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0e31e96f59f7749cac9fe0a51f394e97782ea60b Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-4.0 Gerrit-Owner: Alexander Wels <awels@redhat.com> Gerrit-Reviewer: Alexander Wels <awels@redhat.com> Gerrit-Reviewer: Greg Sheremeta <gshereme@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Oved Ourfali <oourfali@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: Vojtech Szocs <vszocs@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
oourfali@redhat.com