mirror of
https://github.com/dokku/dokku.git
synced 2025-12-16 20:17:44 +01:00
fix: ensure we use the correct variable for WAIT
A previous refactor ended up disabling waits completely, potentially causing app downtime during deploys.
This commit is contained in:
@@ -17,7 +17,7 @@ main() {
|
||||
dokku_log_verbose "Stopping $cid ($PROC_TYPE)"
|
||||
|
||||
# Retire the containers to ensure they get removed
|
||||
plugn trigger scheduler-register-retired "$APP" "$cid" "$WAIT"
|
||||
plugn trigger scheduler-register-retired "$APP" "$cid" "$DOKKU_WAIT_TO_RETIRE"
|
||||
|
||||
# Disable the container restart policy
|
||||
"$DOCKER_BIN" container update --restart=no "$cid" &>/dev/null || true
|
||||
|
||||
Reference in New Issue
Block a user