From 58a47e1835ff0ad70835f364da3113ee45a9a0e4 Mon Sep 17 00:00:00 2001 From: Skyxim Date: Fri, 21 Jan 2022 22:38:28 +0800 Subject: [PATCH] [Style] clear unless notes --- adapter/outboundgroup/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter/outboundgroup/common.go b/adapter/outboundgroup/common.go index ab988f558..3f84ba423 100644 --- a/adapter/outboundgroup/common.go +++ b/adapter/outboundgroup/common.go @@ -32,7 +32,7 @@ func getProvidersProxies(providers []provider.ProxyProvider, touch bool, filter matchedProxies = append(matchedProxies, p) } } - //if no proxy matched, means bad filter, return all proxies + if len(matchedProxies) > 0 { return matchedProxies } else {