This commit is contained in:
Gareth J. Greenaway 2018-11-19 16:49:20 -08:00
parent 3661ee071a
commit 7dd57d0352
No known key found for this signature in database
GPG key ID: 10B62F8A7CAD7A41

View file

@ -84,7 +84,7 @@ def downloaded(name, artifact, target_dir='/tmp', target_file=None, use_literal_
'changes': {},
'comment': ''}
if 'test' in __opts__ and __opts__ ['test'] is True:
if 'test' in __opts__ and __opts__['test'] is True:
fetch_result = {}
fetch_result['status'] = True
fetch_result['comment'] = 'Artifact would be downloaded from URL: {0}'.format(artifact['artifactory_url'])