chore: show a better error message when the image is missing
Refs dokku/dokku-clickhouse#4
This commit is contained in:
@@ -151,9 +151,13 @@ service_start() {
|
|||||||
dokku_log_info2 "Container started"
|
dokku_log_info2 "Container started"
|
||||||
elif service_image_exists "$SERVICE" && [[ -n "$ROOTPASSWORD" ]] && [[ -n "$PASSWORD" ]]; then
|
elif service_image_exists "$SERVICE" && [[ -n "$ROOTPASSWORD" ]] && [[ -n "$PASSWORD" ]]; then
|
||||||
service_create_container "$SERVICE"
|
service_create_container "$SERVICE"
|
||||||
|
else
|
||||||
|
if ! service_image_exists "$SERVICE"; then
|
||||||
|
dokku_log_verbose_quiet "Missing image $PLUGIN_IMAGE:$PLUGIN_IMAGE_VERSION for $SERVICE"
|
||||||
else
|
else
|
||||||
dokku_log_verbose_quiet "Neither container nor valid configuration exists for $SERVICE"
|
dokku_log_verbose_quiet "Neither container nor valid configuration exists for $SERVICE"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
service_url() {
|
service_url() {
|
||||||
|
|||||||
Reference in New Issue
Block a user