resolveMetadata 方法中的配置对齐

Signed-off-by: 落心 <33619903+Luoxin@users.noreply.github.com>
This commit is contained in:
落心 2024-03-13 11:58:43 +08:00 committed by GitHub
parent 31d3614060
commit 63f7182f2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"
}