summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-21 09:31:40 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-21 11:27:10 +0100
commitb3065199f43e852a0b3b97bfdd92e51f4d6e93c5 (patch)
tree157693060b019d642b3be903777965c6df27ccfd
parent07d6a7a20cecdbbd0d1c4b15075633105bb3444f (diff)
downloadorchestration-b3065199f43e852a0b3b97bfdd92e51f4d6e93c5.tar.gz
Fix handing string when should be dict
-rw-r--r--source/bottlerock.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/bottlerock.py b/source/bottlerock.py
index 4bd0b92..c966dd5 100644
--- a/source/bottlerock.py
+++ b/source/bottlerock.py
@@ -80,7 +80,8 @@ def repo_update():
force = {"ref":"force"}
return sendchange('definitions_update',force)
else:
- return sendchange('repo_update',repo_name)
+ properties = {'repo_name':repo_name
+ return sendchange('repo_update',properties)
@post('/force_build')
def force_build():