Repository: yetus
Updated Branches:
  refs/heads/YETUS-379 75d533c09 -> 22ee2cf74


YETUS-393. docker check fails for 1.10+

Signed-off-by: Kengo Seki <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/76e59c3d
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/76e59c3d
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/76e59c3d

Branch: refs/heads/YETUS-379
Commit: 76e59c3dfa480f43a6f8357628217d09e5194a55
Parents: 91b6a3c
Author: Allen Wittenauer <[email protected]>
Authored: Tue May 10 20:22:51 2016 -0700
Committer: Kengo Seki <[email protected]>
Committed: Thu May 12 02:09:50 2016 -0700

----------------------------------------------------------------------
 precommit/core.d/docker.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/76e59c3d/precommit/core.d/docker.sh
----------------------------------------------------------------------
diff --git a/precommit/core.d/docker.sh b/precommit/core.d/docker.sh
index 062c8c1..315dd29 100755
--- a/precommit/core.d/docker.sh
+++ b/precommit/core.d/docker.sh
@@ -144,7 +144,7 @@ function docker_initialize
 
   dockvers=$(docker_version Client)
   if [[ "${dockvers}" =~ ^0
-     || "${dockvers}" =~ ^1\.[0-5] ]]; then
+     || "${dockvers}" =~ ^1\.[0-5]$ || "${dockvers}" =~ ^1\.[0-5]\. ]]; then
     if [[ "${DOCKERFAIL}" =~ ^12
        || "${DOCKERFAIL}" =~ ^2 ]]; then
       add_vote_table 0 docker "Docker command '${DOCKERCMD}' is too old 
(${dockvers} < 1.6.0). Disabling docker."

Reply via email to