chore: correct verbiage around upgrades

This commit is contained in:
Jose Diaz-Gonzalez
2018-10-10 02:54:34 -04:00
parent ea3cd5ef30
commit 902545bdb4
2 changed files with 3 additions and 3 deletions

View File

@@ -279,9 +279,9 @@ service_container_rm() {
local SERVICE_NAME="$(get_service_name "$SERVICE")"
service_stop "$SERVICE"
dokku_log_info2_quiet "Removing container"
dokku_log_verbose_quiet "Removing container"
if ! docker rm "$SERVICE_NAME" > /dev/null 2>&1; then
dokku_log_fail "Unable to stop container for service $SERVICE"
dokku_log_fail "Unable to remove container for service $SERVICE"
fi
}

View File

@@ -28,9 +28,9 @@ service-upgrade-cmd() {
dokku_log_fail "Unable to proceed with upgrade, image ${PLUGIN_IMAGE}:${PLUGIN_IMAGE_VERSION} does not exist"
fi
dokku_log_info2 "Upgrading $SERVICE to $PLUGIN_IMAGE:$PLUGIN_IMAGE_VERSION"
dokku_log_info2 "Stopping $SERVICE"
service_container_rm "$SERVICE"
dokku_log_info2 "Upgrading $SERVICE @ $PLUGIN_IMAGE:$PLUGIN_IMAGE_VERSION"
service_start "$SERVICE" "${@:2}"
dokku_log_info2 "Done"
}