mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Add golangci-lint
This commit is contained in:
@ -113,9 +113,8 @@ func (opt *Options) init() {
|
||||
}
|
||||
if opt.TLSConfig == nil {
|
||||
return netDialer.Dial(network, addr)
|
||||
} else {
|
||||
return tls.DialWithDialer(netDialer, opt.Network, opt.Addr, opt.TLSConfig)
|
||||
}
|
||||
return tls.DialWithDialer(netDialer, opt.Network, opt.Addr, opt.TLSConfig)
|
||||
}
|
||||
}
|
||||
if opt.PoolSize == 0 {
|
||||
|
Reference in New Issue
Block a user