Michael Kublin has submitted this change and it was merged. Change subject: core: fix ArithmeticException when adding host with no swap space ......................................................................
core: fix ArithmeticException when adding host with no swap space stat.getswap_total() will be divisor in checkVdsSwapThreshold(), But when adding host which doesn't have swap space, it will return zero Change-Id: If4ad3d8b13cf2a784fcbb714434a676aba971102 Signed-off-by: plysan <[email protected]> --- M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Michael Kublin: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/12540 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: If4ad3d8b13cf2a784fcbb714434a676aba971102 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: ly pan <[email protected]> Gerrit-Reviewer: Michael Kublin <[email protected]> Gerrit-Reviewer: Mike Kolesnik <[email protected]> Gerrit-Reviewer: Yair Zaslavsky <[email protected]> Gerrit-Reviewer: ly pan <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
