From 0b3159bf9bb6a97cbb417f49dd008a3ad3b56df5 Mon Sep 17 00:00:00 2001 From: hi Date: Tue, 11 Nov 2025 17:06:49 +0800 Subject: [PATCH] chore: remove redundant code (#2355) --- hub/executor/executor.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/hub/executor/executor.go b/hub/executor/executor.go index e92a8de4..988d73e2 100644 --- a/hub/executor/executor.go +++ b/hub/executor/executor.go @@ -449,12 +449,7 @@ func patchSelectGroup(proxies map[string]C.Proxy) { return } - for name, proxy := range proxies { - outbound, ok := proxy.(C.Proxy) - if !ok { - continue - } - + for name, outbound := range proxies { selector, ok := outbound.Adapter().(outboundgroup.SelectAble) if !ok { continue