echo array before return

This commit is contained in:
Heavybullets8 2022-09-04 17:27:58 -06:00
parent 19d52e058a
commit cc9091de15

View File

@ -104,6 +104,7 @@ if [[ "$startstatus" == "DEPLOYING" ]]; then
status=$(grep "^$app_name," all_app_status | awk -F ',' '{print $2}')
if [[ "$SECONDS" -ge "$timeout" ]]; then
echo_array+=("Application is stuck Deploying, Skipping to avoid damage")
echo_array
return
fi
sleep 5