fix: do not force-set plugin image and version to existing image and version

This commit is contained in:
Jose Diaz-Gonzalez
2018-10-10 02:39:11 -04:00
parent 9ee6c3c5cf
commit c05c47187a

View File

@@ -22,9 +22,6 @@ service-upgrade-cmd() {
local ID="$(cat "$SERVICE_ROOT/ID")"
is_container_status "$ID" "Running" || dokku_log_fail "Service ${SERVICE} container is not running"
PLUGIN_IMAGE=$(service_version "$SERVICE" | grep -o "^.*:" | sed -r "s/://g")
PLUGIN_IMAGE_VERSION=$(service_version "$SERVICE" | grep -o ":.*$" | sed -r "s/://g")
service_parse_args "${@:2}"
if ! service_image_exists "$SERVICE"; then