Repository: yetus Updated Branches: refs/heads/master 19c9e9594 -> e56ba299c
YETUS-622. docker-cleanup removes non-Yetus docker images even if not in sentinel mode 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/6534bd57 Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/6534bd57 Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/6534bd57 Branch: refs/heads/master Commit: 6534bd57c192eb7c60f7d3dc7306b419d920496d Parents: 19c9e95 Author: Kengo Seki <[email protected]> Authored: Thu Apr 5 09:12:26 2018 -0400 Committer: Kengo Seki <[email protected]> Committed: Thu Apr 5 17:28:36 2018 -0400 ---------------------------------------------------------------------- precommit/core.d/docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/6534bd57/precommit/core.d/docker.sh ---------------------------------------------------------------------- diff --git a/precommit/core.d/docker.sh b/precommit/core.d/docker.sh index a67e553..1f6eff3 100755 --- a/precommit/core.d/docker.sh +++ b/precommit/core.d/docker.sh @@ -449,7 +449,7 @@ function docker_image_maintenance #shellcheck disable=SC2046,SC2016 docker_image_maintenance_helper $(dockercmd images | ${GREP} -e ^yetus | ${GREP} -v hours | ${AWK} '{print $1":"$2}') - if [[ "${SENTINTAL}" = false ]]; then + if [[ "${SENTINEL}" = false ]]; then return fi
