Skip container finish processing when zero downtime is disabled
This commit is contained in:
1 parent
c731480360
commit
8200348f3c
1 file changed
+2
@@ -549,6 +549,8 @@ dokku_deploy_cmd() {
|
|||||||
dokku_log_info2 "stopping $APP.$PROC_TYPE ($cid)"
|
dokku_log_info2 "stopping $APP.$PROC_TYPE ($cid)"
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
docker stop $DOCKER_STOP_TIME_ARG "$cid" &> /dev/null
|
docker stop $DOCKER_STOP_TIME_ARG "$cid" &> /dev/null
|
||||||
|
# remove cid from oldids to skip the old container finish processing
|
||||||
|
oldids="$(remove_val_from_list "$cid" "$oldids" " ")"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user