feat: add container id to retire-container-failed arguments (#3227)
Refs dokku/dokku#3225
This commit is contained in:
committed by
Josh Manders
parent
f6fc32a074
commit
c9de100dd9
@@ -164,7 +164,7 @@ scheduler-docker-local-scheduler-deploy() {
|
|||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
docker stop $DOCKER_STOP_TIME_ARG "$oldid" \
|
docker stop $DOCKER_STOP_TIME_ARG "$oldid" \
|
||||||
|| docker kill "$oldid" \
|
|| docker kill "$oldid" \
|
||||||
|| plugn trigger retire-container-failed "$APP" # plugin trigger for event logging
|
|| plugn trigger retire-container-failed "$APP" "$oldid" # plugin trigger for event logging
|
||||||
done
|
done
|
||||||
) & disown -a
|
) & disown -a
|
||||||
# Use trap since disown/nohup don't seem to keep child alive
|
# Use trap since disown/nohup don't seem to keep child alive
|
||||||
|
|||||||
Reference in New Issue
Block a user