diff --git a/License2Deploy/rolling_deploy.py b/License2Deploy/rolling_deploy.py index 47a0061..83a005e 100644 --- a/License2Deploy/rolling_deploy.py +++ b/License2Deploy/rolling_deploy.py @@ -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))