mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/proxy: typo fix after a5c5b54c22
This commit is contained in:
parent
a5c5b54c22
commit
2c25b0322b
1 changed files with 1 additions and 2 deletions
|
@ -158,8 +158,7 @@ func socks5DialFunc(proxyAddr string, pu *url.URL, tlsCfg *tls.Config) (fasthttp
|
|||
var dialer proxy.Dialer = proxy.Direct
|
||||
if tlsCfg != nil {
|
||||
dialer = &tls.Dialer{
|
||||
NetDialer: proxy.Direct,
|
||||
Config: tls.Config,
|
||||
Config: tlsCfg,
|
||||
}
|
||||
}
|
||||
d, err := proxy.SOCKS5(network, proxyAddr, sac, dialer)
|
||||
|
|
Loading…
Reference in a new issue