From d410053f7298718b9fae467a6ea02d3ccecec940 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 3 Mar 2025 10:52:35 +0100 Subject: [PATCH] bashio::log.warning --- immich_power_tools/rootfs/etc/cont-init.d/99-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/immich_power_tools/rootfs/etc/cont-init.d/99-run.sh b/immich_power_tools/rootfs/etc/cont-init.d/99-run.sh index 2a291a3b5..39b58611c 100755 --- a/immich_power_tools/rootfs/etc/cont-init.d/99-run.sh +++ b/immich_power_tools/rootfs/etc/cont-init.d/99-run.sh @@ -6,7 +6,7 @@ bashio::log.info "Starting Immich Power Tools" extract_ip_or_domain() { local url="$1" if [[ ! "$url" =~ ^https?:// ]]; then - bashio::warning "URL $url has a http:// or https:// prefix. This should not be, it is removed automatically" + bashio::log.warning "URL $url has a http:// or https:// prefix. This should not be, it is removed automatically" echo "$url" | sed -E 's|https?://([^/]+).*|\1|' fi } @@ -17,7 +17,7 @@ export DB_HOST ensure_http_prefix() { local url="$1" if [[ ! "$url" =~ ^https?:// ]]; then - bashio::warning "URL $url does not have http:// or https:// prefix. Adding http:// by default. If cannot connect to immich, please adapt in your addon options" + bashio::log.warning "URL $url does not have http:// or https:// prefix. Adding http:// by default. If cannot connect to immich, please adapt in your addon options" echo "http://$url" else echo "$url"