From b4292d09721e3cc20745903e9dc3bece1a5a1221 Mon Sep 17 00:00:00 2001 From: Dreamacro <8615343+Dreamacro@users.noreply.github.com> Date: Tue, 6 Jul 2021 00:33:13 +0800 Subject: [PATCH] Fix: staticcheck error --- adapter/provider/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter/provider/provider.go b/adapter/provider/provider.go index b6e1ac75..32baaedd 100644 --- a/adapter/provider/provider.go +++ b/adapter/provider/provider.go @@ -204,7 +204,7 @@ func stopCompatibleProvider(pd *CompatibleProvider) { func NewCompatibleProvider(name string, proxies []C.Proxy, hc *HealthCheck) (*CompatibleProvider, error) { if len(proxies) == 0 { - return nil, errors.New("Provider need one proxy at least") + return nil, errors.New("provider need one proxy at least") } if hc.auto() {