Merge pull request #954 from evanccnyc/devel

fixing hang after creation in ec2_eni
reviewable/pr18780/r1
James Cammarata 9 years ago
commit 82f8ffc627

@ -215,8 +215,8 @@ def create_eni(connection, module):
raise raise
# Wait to allow creation / attachment to finish # Wait to allow creation / attachment to finish
wait_for_eni(eni, "attached") wait_for_eni(eni, "attached")
eni.update()
changed = True changed = True
eni.update()
except BotoServerError as e: except BotoServerError as e:
module.fail_json(msg=get_error_message(e.args[2])) module.fail_json(msg=get_error_message(e.args[2]))

Loading…
Cancel
Save