Jiří Moskovčák has uploaded a new change for review. Change subject: fixed typo when accessing the metadata dict ......................................................................
fixed typo when accessing the metadata dict Change-Id: I3fafb2e6670e0ef3ce18d2f0f03dfa1a2939e36d Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1092075 Signed-off-by: Jiri Moskovcak <jmosk...@redhat.com> --- M ovirt_hosted_engine_ha/agent/state_machine.py 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-ha refs/changes/33/27833/1 diff --git a/ovirt_hosted_engine_ha/agent/state_machine.py b/ovirt_hosted_engine_ha/agent/state_machine.py index 480e9ba..166c8f2 100644 --- a/ovirt_hosted_engine_ha/agent/state_machine.py +++ b/ovirt_hosted_engine_ha/agent/state_machine.py @@ -129,8 +129,8 @@ new_data["best_engine_status"] = lm["engine-health"] new_data["best_engine_host_id"] = self.hosted_engine.host_id else: - new_data["best_engine_status"] = best_engine["engine_status"] - new_data["best_engine_host_id"] = best_engine["host_id"] + new_data["best_engine_status"] = best_engine["engine-status"] + new_data["best_engine_host_id"] = best_engine["host-id"] # Save the best score remote values # we can't compare them because we first need to fully initialize -- To view, visit http://gerrit.ovirt.org/27833 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3fafb2e6670e0ef3ce18d2f0f03dfa1a2939e36d Gerrit-PatchSet: 1 Gerrit-Project: ovirt-hosted-engine-ha Gerrit-Branch: ovirt-hosted-engine-ha-1.1 Gerrit-Owner: Jiří Moskovčák <jmosk...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches