yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject yetus git commit: YETUS-487. docker cleanup needs to handle 'dead'
Date Fri, 19 May 2017 21:26:18 GMT
Repository: yetus
Updated Branches:
  refs/heads/master fa0e4bc0c -> 3cba0293d


YETUS-487. docker cleanup needs to handle 'dead'

Signed-off-by: Allen Wittenauer <aw@apache.org>


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 <suraj.spa@gmail.com>
Authored: Tue Mar 28 17:55:16 2017 -0500
Committer: Allen Wittenauer <aw@apache.org>
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


Mime
View raw message