Skip to content

Commit 4d3167f

Browse files
committed
chore: completely remove relay group type using dialer-proxy instead
which was marked as deprecated in v1.18.6
1 parent 5998956 commit 4d3167f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adapter/outboundgroup/parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func ParseProxyGroup(config map[string]any, proxyMap map[string]C.Proxy, provide
186186
strategy := parseStrategy(config)
187187
return NewLoadBalance(groupOption, providers, strategy)
188188
case "relay":
189-
group = NewRelay(groupOption, providers)
189+
return nil, fmt.Errorf("%w: The group [%s] with relay type was removed, please using dialer-proxy instead", errType, groupName)
190190
default:
191191
return nil, fmt.Errorf("%w: %s", errType, groupOption.Type)
192192
}

0 commit comments

Comments
 (0)