Commit 525e6dd1 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

gtools: Send messages only for cluster changes

parent e4927707
......@@ -348,6 +348,10 @@ class JobFileHandler(pyinotify.ProcessEvent):
self.logger.debug("Job: %d: %s %s", job_id, op_id, op.status)
if op_id != "OP_CLUSTER_SET_PARAMS":
# Send only modifications of cluster
return None, None
msg = {'operation': op_id,
'type': "ganeti-cluster-status"}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment