Repository: yetus Updated Branches: refs/heads/master fa0e4bc0c -> 3cba0293d
YETUS-487. docker cleanup needs to handle 'dead' Signed-off-by: Allen Wittenauer <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/3cba0293 Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/3cba0293 Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/3cba0293 Branch: refs/heads/master Commit: 3cba0293dbad38c1d941bb45b27fec118b47a0c4 Parents: fa0e4bc Author: Suraj Acharya <[email protected]> Authored: Tue Mar 28 17:55:16 2017 -0500 Committer: Allen Wittenauer <[email protected]> Committed: Fri May 19 14:07:27 2017 -0700 ---------------------------------------------------------------------- precommit/core.d/docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/3cba0293/precommit/core.d/docker.sh ---------------------------------------------------------------------- diff --git a/precommit/core.d/docker.sh b/precommit/core.d/docker.sh index cffa4b4..863b045 100755 --- a/precommit/core.d/docker.sh +++ b/precommit/core.d/docker.sh @@ -319,7 +319,7 @@ function docker_container_maintenance remove=true fi ;; - exited) + exited | dead) ((difftime = curtime - stoptime)) if [[ ${difftime} -gt ${DOCKER_CONTAINER_PURGE[2]} ]]; then remove=true
