From 822e63833aea3795522da7ed1548dc3dab8bcd5e Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Sat, 15 Jun 2024 12:14:46 +0800 Subject: [PATCH] chore: deprecated the relay group type, please using dialer-proxy instead --- adapter/outboundgroup/relay.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/adapter/outboundgroup/relay.go b/adapter/outboundgroup/relay.go index 07fbcd95..29aa9c6a 100644 --- a/adapter/outboundgroup/relay.go +++ b/adapter/outboundgroup/relay.go @@ -9,6 +9,7 @@ import ( "github.com/metacubex/mihomo/component/proxydialer" C "github.com/metacubex/mihomo/constant" "github.com/metacubex/mihomo/constant/provider" + "github.com/metacubex/mihomo/log" ) type Relay struct { @@ -149,6 +150,7 @@ func (r *Relay) Addr() string { } func NewRelay(option *GroupCommonOption, providers []provider.ProxyProvider) *Relay { + log.Warnln("The group [%s] with relay type is deprecated, please using dialer-proxy instead", option.Name) return &Relay{ GroupBase: NewGroupBase(GroupBaseOption{ outbound.BaseOption{