summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-21 09:18:56 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-21 11:27:10 +0100
commit07d6a7a20cecdbbd0d1c4b15075633105bb3444f (patch)
treef0d998c5edca9fe80c26e1336b87429799835277
parent4f58b0b9c437299bcf11aca1464067dbb663705b (diff)
downloadorchestration-07d6a7a20cecdbbd0d1c4b15075633105bb3444f.tar.gz
Fix misnamed variable
-rw-r--r--source/bottlerock.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/bottlerock.py b/source/bottlerock.py
index 90aaf22..4bd0b92 100644
--- a/source/bottlerock.py
+++ b/source/bottlerock.py
@@ -69,6 +69,7 @@ def missing_property_response(property):
@post('/repo_update')
def repo_update():
+ print request.json
repo_name = request.json['urls'][0]
changes = request.json['changes']
for change in changes:
@@ -79,7 +80,7 @@ def repo_update():
force = {"ref":"force"}
return sendchange('definitions_update',force)
else:
- return sendchange('repo_update',properties)
+ return sendchange('repo_update',repo_name)
@post('/force_build')
def force_build():