fix: correct check for existing image

This commit is contained in:
Jose Diaz-Gonzalez
2018-10-10 02:42:43 -04:00
parent 046cee9856
commit 86e6e80c01

View File

@@ -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() {