mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Minor fix in helpers script
This commit is contained in:
parent
bdf3aecd5e
commit
83862e9429
@ -20,7 +20,7 @@ function external_registry_login() {
|
|||||||
|
|
||||||
function setup_docker() {
|
function setup_docker() {
|
||||||
if ! docker info &>/dev/null; then
|
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'
|
export DOCKER_HOST='tcp://localhost:2375'
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user