summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-21 15:44:48 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-21 15:44:48 +0100
commitb2756a025c3d5d786610e11b91f427b9b072dcc3 (patch)
tree6b26ac8db2027b34cfaaf56c4109a33cd6dc1223
parent28102e1a90a31a245df7879f1705cacf473c4c12 (diff)
downloadorchestration-b2756a025c3d5d786610e11b91f427b9b072dcc3.tar.gz
Fix passing bare string to sendchange .. again
-rw-r--r--source/bottlerock.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/bottlerock.py b/source/bottlerock.py
index cdf5c66..a9228f4 100644
--- a/source/bottlerock.py
+++ b/source/bottlerock.py
@@ -86,7 +86,8 @@ def repo_update():
return sendchange('repo_update',properties)
elif ref in orch_config.candidate_refs.keys():
slave = orch_config.candidate_refs[ref]
- return sendchange('definitions_update_%s' % slave,ref)
+ properties = {"ref":ref}
+ return sendchange('definitions_update_%s' % slave,properties)
elif repo_name == TEST_REPO:
force = {"ref":"force"}
return sendchange('definitions_update',force)