Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
525e6dd1
Commit
525e6dd1
authored
Dec 23, 2013
by
Christos Stavrakakis
Browse files
gtools: Send messages only for cluster changes
parent
e4927707
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-cyclades-gtools/synnefo/ganeti/eventd.py
View file @
525e6dd1
...
...
@@ -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"
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment