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 <plysab(a)gmail.com>
---
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 <plysab(a)gmail.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>
Gerrit-Reviewer: ly pan <plysab(a)gmail.com>