From b570f46eb48e8022bbde4359f65209910669337f Mon Sep 17 00:00:00 2001 From: monlor Date: Tue, 15 Oct 2024 21:31:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20remove=20unset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- media-unlock/Dockerfile | 2 +- media-unlock/entrypoint.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/media-unlock/Dockerfile b/media-unlock/Dockerfile index b535971..dac38f5 100644 --- a/media-unlock/Dockerfile +++ b/media-unlock/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:latest LABEL MAINTAINER me@monlor.com -LABEL VERSION 2.0.1 +LABEL VERSION 2.0.2 RUN apt update && apt install dnsmasq bash curl -y && apt clean diff --git a/media-unlock/entrypoint.sh b/media-unlock/entrypoint.sh index 2e3dae8..0e45319 100644 --- a/media-unlock/entrypoint.sh +++ b/media-unlock/entrypoint.sh @@ -39,7 +39,7 @@ switch_media_ip() { return 0 fi done - unset current_media_ip + current_media_ip="" echo "media: No available IP found." } @@ -52,7 +52,7 @@ switch_openai_ip() { return 0 fi done - unset current_openai_ip + current_openai_ip="" echo "openai: No available IP found." } @@ -65,7 +65,7 @@ switch_anthropic_ip() { return 0 fi done - unset current_anthropic_ip + current_anthropic_ip="" echo "anthropic: No available IP found." }