Commit 93309bb9 authored by Martin Vala's avatar Martin Vala
Browse files

Merge branch '57-eos-docker-should-stop-if-docker-image-is-not-found' into 'master'

Resolve "Eos-docker should stop if docker image is not found"

Closes #57

See merge request !30
parents 07dce537 45d4c61e
Pipeline #608446 skipped with stage
Name: eos-docker-utils
Version: 1.0.13
Version: 1.0.14
Release: 1%{?dist}
Summary: EOS docker utils
License: LGPL v3+
......
......@@ -182,7 +182,7 @@ function eosDockerPull() {
DEBUG "Pulling $t ..."
if [ "$t" == "mgm" -o "$t" == "_single" ];then
INFO "Pulling docker '$ED_DOCKER_PREFIX/$ED_DOCKER_IMAGE_NAME_VERSION' ..."
$ED_DOCKER_CMD pull $ED_DOCKER_PREFIX/$ED_DOCKER_IMAGE_NAME_VERSION
$ED_DOCKER_CMD pull $ED_DOCKER_PREFIX/$ED_DOCKER_IMAGE_NAME_VERSION || { ERROR "Poblem doing '$ED_DOCKER_CMD pull $ED_DOCKER_PREFIX/$ED_DOCKER_IMAGE_NAME_VERSION' !!! Aborting ..."; exit 1; }
elif [ "$t" == "fsts" ];then
[[ $ED_NODE_TYPE == mgm* ]] && [ -f $ED_ROOT_DIR/$ED_FST_HOSTS ] && eos-docker-ssh pull
elif [ "$t" == "host" ];then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment