Fixed typo json_fail to fail_json

reviewable/pr18780/r1
Taras Lipatov 9 years ago
parent a98cd86f88
commit 5299279b0b

@ -377,7 +377,7 @@ def main():
try:
ec2 = ec2_connect(module)
except Exception, e:
module.json_fail(msg="Error while connecting to aws: %s" % str(e))
module.fail_json(msg="Error while connecting to aws: %s" % str(e))
if module.params.get('state') == 'absent':
if not module.params.get('image_id'):

Loading…
Cancel
Save