From 63f7182f2b1172089a2360e39ac37b4a0654e865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=BD=E5=BF=83?= <33619903+Luoxin@users.noreply.github.com> Date: Wed, 13 Mar 2024 11:58:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8E=20`resolveMetadata`=20=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E4=B8=AD=E7=9A=84=E9=85=8D=E7=BD=AE=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 落心 <33619903+Luoxin@users.noreply.github.com> --- tunnel/mode.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tunnel/mode.go b/tunnel/mode.go index a1697a32b0..9c3e0fc0d4 100644 --- a/tunnel/mode.go +++ b/tunnel/mode.go @@ -58,11 +58,11 @@ func (m TunnelMode) MarshalYAML() (any, error) { func (m TunnelMode) String() string { switch m { case Global: - return "global" + return "GLOBAL" case Rule: - return "rule" + return "RULE" case Direct: - return "direct" + return "DIRECT" default: return "Unknown" }