Skip to content

Commit

Permalink
Merge pull request #20 from taoistmath/INFRASYS-6377
Browse files Browse the repository at this point in the history
INFRASYS-6377: Timeout error message in seconds rather than minutes
  • Loading branch information
adamjkeller committed Dec 8, 2015
2 parents f413706 + 643d095 commit bfff745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion License2Deploy/rolling_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def wait_ami_availability(self, ami_id, timer=20):
logging.info("AMI {0} is ready".format(ami_id))
return True
elif time() > timeout:
logging.error("AMI {0} is not ready after {1} minutes, please investigate".format(ami_id, timeout))
logging.error("AMI {0} is not ready after {1} minutes, please investigate".format(ami_id, timer))
exit(self.exit_error_code)
else:
logging.warning("AMI {0} is not ready yet, retrying in 30 seconds".format(ami_id))
Expand Down

0 comments on commit bfff745

Please sign in to comment.