summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-30 22:31:54 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-30 22:31:54 +0100
commit947bdcfeebdfd1f851a349cf53539199f58ff4b9 (patch)
tree0019a18c87708b24359c1330823158c523d5ae93
parent5ac608728a1ab513569a3e418dd5cfd38fc67e01 (diff)
downloadciatlib-947bdcfeebdfd1f851a349cf53539199f58ff4b9.tar.gz
Fix underscore to dash
-rw-r--r--ciatlib/master.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ciatlib/master.py b/ciatlib/master.py
index 9013e26..b4af0a0 100644
--- a/ciatlib/master.py
+++ b/ciatlib/master.py
@@ -151,7 +151,7 @@ class Pipeline:
def pipeline_from_dict(_dict):
''' given a dict of a pipeline return an object '''
name = _dict['name']
- candidate_refs = _dict['candidate_refs']
+ candidate_refs = _dict['candidate-refs']
slave_type = _dict['slave-type']
clusters = _dict['clusters']
return Pipeline(name,candidate_refs,slave_type,clusters)