Jiří Moskovčák has uploaded a new change for review.

Change subject: skip global metadata when checking the liveness
......................................................................

skip global metadata when checking the liveness

Change-Id: I37cbce4470a60d3ed2db5a5cb5ce6a6422d9fbdc
Signed-off-by: Jiri Moskovcak <[email protected]>
---
M ovirt_hosted_engine_ha/client/client.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-ha 
refs/changes/06/28006/1

diff --git a/ovirt_hosted_engine_ha/client/client.py 
b/ovirt_hosted_engine_ha/client/client.py
index f898824..5d8eb41 100644
--- a/ovirt_hosted_engine_ha/client/client.py
+++ b/ovirt_hosted_engine_ha/client/client.py
@@ -80,6 +80,8 @@
 
     def _check_liveness_for_stats(self, stats, broker):
         for host_id in stats:
+            if host_id == 0:  # global stats
+                continue
             self._check_liveness_metadata(stats[host_id], broker)
 
     def get_all_stats(self, mode=StatModes.ALL):


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I37cbce4470a60d3ed2db5a5cb5ce6a6422d9fbdc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Jiří Moskovčák <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to