chore: correct verbiage around upgrades
This commit is contained in:
@@ -279,9 +279,9 @@ service_container_rm() {
|
|||||||
local SERVICE_NAME="$(get_service_name "$SERVICE")"
|
local SERVICE_NAME="$(get_service_name "$SERVICE")"
|
||||||
|
|
||||||
service_stop "$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
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,9 +28,9 @@ service-upgrade-cmd() {
|
|||||||
dokku_log_fail "Unable to proceed with upgrade, image ${PLUGIN_IMAGE}:${PLUGIN_IMAGE_VERSION} does not exist"
|
dokku_log_fail "Unable to proceed with upgrade, image ${PLUGIN_IMAGE}:${PLUGIN_IMAGE_VERSION} does not exist"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dokku_log_info2 "Upgrading $SERVICE to $PLUGIN_IMAGE:$PLUGIN_IMAGE_VERSION"
|
||||||
dokku_log_info2 "Stopping $SERVICE"
|
dokku_log_info2 "Stopping $SERVICE"
|
||||||
service_container_rm "$SERVICE"
|
service_container_rm "$SERVICE"
|
||||||
dokku_log_info2 "Upgrading $SERVICE @ $PLUGIN_IMAGE:$PLUGIN_IMAGE_VERSION"
|
|
||||||
service_start "$SERVICE" "${@:2}"
|
service_start "$SERVICE" "${@:2}"
|
||||||
dokku_log_info2 "Done"
|
dokku_log_info2 "Done"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user