From 233ecc1820bfbb284e965da0ed58b7efb23ca05a Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 6 Sep 2022 20:23:20 -0600 Subject: [PATCH] failed append fix --- functions/update_apps.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index 378d3f75..58cb332f 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -209,11 +209,11 @@ if [[ $rollback == "true" || "$startstatus" == "STOPPED" ]]; then elif [[ "$SECONDS" -ge "$timeout" ]]; then if [[ $rollback == "true" ]]; then if [[ "$failed" != "true" ]]; then + echo "$app_name,$new_full_ver" >> failed echo_array+=("Error: Run Time($SECONDS) for $app_name has exceeded Timeout($timeout)") echo_array+=("If this is a slow starting application, set a higher timeout with -t") echo_array+=("If this applicaion is always DEPLOYING, you can disable all probes under the Healthcheck Probes Liveness section in the edit configuration") - echo_array+=("Reverting update..") - echo "$app_name,$new_full_ver" >> failed + echo_array+=("Reverting update..") if rollback_app ; then echo_array+=("Rolled Back") else @@ -239,11 +239,11 @@ if [[ $rollback == "true" || "$startstatus" == "STOPPED" ]]; then break fi else + echo "$app_name,$new_full_ver" >> failed echo_array+=("Error: Run Time($SECONDS) for $app_name has exceeded Timeout($timeout)") echo_array+=("If this is a slow starting application, set a higher timeout with -t") echo_array+=("If this applicaion is always DEPLOYING, you can disable all probes under the Healthcheck Probes Liveness section in the edit configuration") echo_array+=("Manual intervention is required\nStopping, then Abandoning") - echo "$app_name,$new_full_ver" >> failed if stop_app ; then echo_array+=("Stopped") else