Use -t instead of deprecated --time in stop commands

This commit is contained in:
Corey Taylor committed 2025-10-25 14:24:35 -05:00
1 parent 959c93b95b
commit 2362232fe2
3 files changed
+3 -3

No files matched your search

@@ -12,7 +12,7 @@ fn-scheduler-docker-local-stop-container() {
return 0
fi
[[ $DOKKU_DOCKER_STOP_TIMEOUT ]] && DOCKER_STOP_TIME_ARG="--time=${DOKKU_DOCKER_STOP_TIMEOUT}"
[[ $DOKKU_DOCKER_STOP_TIMEOUT ]] && DOCKER_STOP_TIME_ARG="-t=${DOKKU_DOCKER_STOP_TIMEOUT}"
if "$DOCKER_BIN" container stop $DOCKER_STOP_TIME_ARG "$CONTAINER_ID_OR_NAME"; then
return
fi