From 83862e9429e2e7e2e57c8253f25795858a64a868 Mon Sep 17 00:00:00 2001 From: Tortue Torche <126358-tortuetorche@users.noreply.gitlab.com> Date: Tue, 30 Nov 2021 18:03:15 +0100 Subject: [PATCH] Minor fix in helpers script --- scripts/helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helpers.sh b/scripts/helpers.sh index 09464d7..9499cb7 100644 --- a/scripts/helpers.sh +++ b/scripts/helpers.sh @@ -20,7 +20,7 @@ function external_registry_login() { function setup_docker() { if ! docker info &>/dev/null; then - if [ -z "$DOCKER_HOST" -a "$KUBERNETES_PORT" ]; then + if [ -z "$DOCKER_HOST" ] && [ -n "$KUBERNETES_PORT" ]; then export DOCKER_HOST='tcp://localhost:2375' fi fi