lint by golangci-lint (#3080)

This commit is contained in:
fatedier authored and GitHub committed 2022-08-29 01:02:53 +08:00
1 parent f4e4fbea62
commit 9d077b02cf
122 files changed
+947 -1331

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ func (pxy *HTTPSProxy) Run() (remoteAddr string, err error) {
}
xl.Info("https proxy listen for host [%s]", routeConfig.Domain)
pxy.listeners = append(pxy.listeners, l)
addrs = append(addrs, util.CanonicalAddr(routeConfig.Domain, int(pxy.serverCfg.VhostHTTPSPort)))
addrs = append(addrs, util.CanonicalAddr(routeConfig.Domain, pxy.serverCfg.VhostHTTPSPort))
}
pxy.startListenHandler(pxy, HandleUserTCPConnection)