Skip to content

Commit 25d705b

Browse files
author
Germano Fronza
committed
Fix timeout argument type
1 parent 8b6a88f commit 25d705b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ecs_deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def _run_parser(self):
188188
sys.exit(1)
189189

190190
# loop for desired timeout
191-
timeout = self.args.get('timeout') or 90
191+
timeout = int(self.args.get('timeout')) or 90
192192
started_at = time.time()
193193
while True:
194194
self.running_tasks = self.client_fn('list_tasks')['taskArns']

0 commit comments

Comments
 (0)