Change in ovirt-hosted-engine-ha[master]: Use max instead of min when computing the best score

msivak at redhat.com msivak at redhat.com
Fri Jul 11 08:05:46 UTC 2014


Martin Sivák has submitted this change and it was merged.

Change subject: Use max instead of min when computing the best score
......................................................................


Use max instead of min when computing the best score

The best score is the highest score, so this was
a 'thinko'. However this bug manifests itself only
if there are more than 2 hosts in the setup.

Change-Id: I0c265aa60611793b1cd4738ec057e9e7d02747a1
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1093366
Signed-off-by: Jiri Moskovcak <jmoskovc at redhat.com>
---
M ovirt_hosted_engine_ha/agent/state_machine.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Martin Sivák: Looks good to me, approved
  Jiří Moskovčák: Verified



-- 
To view, visit http://gerrit.ovirt.org/29580
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0c265aa60611793b1cd4738ec057e9e7d02747a1
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Jiří Moskovčák <jmoskovc at redhat.com>
Gerrit-Reviewer: Jiří Moskovčák <jmoskovc at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list