Change in ovirt-engine[master]: core: fix problematic host percentage display
oourfali at redhat.com
oourfali at redhat.com
Mon May 16 07:40:10 UTC 2016
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 at 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 at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list