From b3500556921d77a4b25381f0df3025abf14ee060 Mon Sep 17 00:00:00 2001 From: gVisor bot 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 ab988f55..3f84ba42 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 {