From 82ec62b3bc4b2d6240041b396ab49a3c03386136 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 10 Oct 2018 02:42:43 -0400 Subject: [PATCH] fix: correct check for existing image --- common-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common-functions b/common-functions index bbbff15..7bd6d52 100755 --- a/common-functions +++ b/common-functions @@ -317,10 +317,10 @@ service_image_exists() { local IMAGE="$PLUGIN_IMAGE:$PLUGIN_IMAGE_VERSION" if [[ "$(docker images -q "$IMAGE" 2> /dev/null)" == "" ]]; then - return 0 + return 1 fi - return 1 + return 0 } service_info() {