Oved Ourfali has submitted this change and it was merged.
Change subject: core: fix problematic host percentage display
......................................................................
core: fix problematic host percentage display
The fencing policy checks how many hosts are in problems and prints
percentage of problematic hosts in the cluster.
The value printed is double and sometimes looks not friendly (for
example : 77.77777777777779)
This patch rounds the resulted percentage to integer.
Change-Id: Ib0b73398bc58a96790e0608ca60aa88ccd5837aa
Signed-off-by: emesika <emesika(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/pm/VdsNotRespondingTreatmentCommand.java
1 file changed, 4 insertions(+), 4 deletions(-)
Approvals:
Eli Mesika: Verified
Jenkins CI: Passed CI tests
Moti Asayag: Looks good to me, approved
--
To view, visit
https://gerrit.ovirt.org/57452
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib0b73398bc58a96790e0608ca60aa88ccd5837aa
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>