add count to the status file for cont change
This commit is contained in:
parent
116279db37
commit
4f944a6299
@ -61,7 +61,7 @@ it=0
|
|||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
if while_status=$(cli -m csv -c 'app chart_release query name,update_available,human_version,human_latest_version,status' 2>/dev/null) ; then
|
if while_status=$(cli -m csv -c 'app chart_release query name,update_available,human_version,human_latest_version,status' 2>/dev/null) ; then
|
||||||
echo "$while_status" > temp.txt
|
echo -e "$it\n$while_status" > temp.txt
|
||||||
else
|
else
|
||||||
echo "Middlewared timed out. Consider setting a lower number for async applications"
|
echo "Middlewared timed out. Consider setting a lower number for async applications"
|
||||||
continue
|
continue
|
||||||
@ -255,7 +255,7 @@ if [[ $rollback == "true" || "$startstatus" == "STOPPED" ]]; then
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
[[ "$verbose" == "true" ]] && echo_array+=("Waiting $((timeout-SECONDS)) more seconds for $app_name to be ACTIVE")
|
[[ "$verbose" == "true" ]] && echo_array+=("Waiting $((timeout-SECONDS)) more seconds for $app_name to be ACTIVE")
|
||||||
sleep 5
|
sleep 10
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user