mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 03:32:33 +08:00
与 resolveMetadata
方法中的配置对齐
Signed-off-by: 落心 <33619903+Luoxin@users.noreply.github.com>
This commit is contained in:
parent
31d3614060
commit
63f7182f2b
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user