fixing hang after creation

This commit is contained in:
Evan Carter 2015-09-10 15:23:57 -04:00 committed by Matt Clay
parent 5185dd3563
commit edfe99b5ce

View file

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