fix deploying comparison
This commit is contained in:
parent
714842a33f
commit
0fbe428507
@ -169,7 +169,7 @@ if [[ $rollback == "true" || "$startstatus" == "STOPPED" ]]; then
|
|||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
status=$( grep "^$app_name," temp.txt | awk -F ',' '{print $2}')
|
status=$( grep "^$app_name," temp.txt | awk -F ',' '{print $2}')
|
||||||
if [[ $count -lt 1 && $status != "Deploying" ]]; then # If status shows up as Active or Stopped on the first check, verify that. Otherwise it may be a false report..
|
if [[ $count -lt 1 && $status != "DEPLOYING" ]]; then # If status shows up as Active or Stopped on the first check, verify that. Otherwise it may be a false report..
|
||||||
[[ "$verbose" == "true" ]] && echo_array+=("Verifying $status..")
|
[[ "$verbose" == "true" ]] && echo_array+=("Verifying $status..")
|
||||||
old_status=$status
|
old_status=$status
|
||||||
before_loop=$(head -n 1 temp.txt)
|
before_loop=$(head -n 1 temp.txt)
|
||||||
|
Loading…
Reference in New Issue
Block a user