From 55057e64a1262e6f3436d94e1588876a72a76833 Mon Sep 17 00:00:00 2001 From: Allan Denot Date: Mon, 11 May 2020 20:51:27 +1000 Subject: [PATCH] Fixing run-task passing wrong parameters for tail-task-logs.py --- src/run-task.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/run-task.sh b/src/run-task.sh index ac26555..a42cdef 100755 --- a/src/run-task.sh +++ b/src/run-task.sh @@ -46,8 +46,8 @@ TASK_STATUS=$(aws ecs describe-tasks \ --output=text) echo "---> Task ID $TASK_ID" echo "---> Task Status $TASK_STATUS" -export TASK_ID=$TASK_ID -./tail-task-logs.py + +./tail-task-logs.py $TASK_ID # Discovery the Container Retunr status after the run-task CONTAINER_EXIT_CODE=$(aws ecs describe-tasks \