mirror of https://github.com/go-redis/redis.git
sentinel uses configured Dialer
such as https://godoc.org/golang.org/x/net/proxy#PerHost
This commit is contained in:
parent
726ddef6f5
commit
6a5329235d
|
@ -373,6 +373,7 @@ func (c *sentinelFailover) masterAddr() (string, error) {
|
|||
for i, sentinelAddr := range c.sentinelAddrs {
|
||||
sentinel := NewSentinelClient(&Options{
|
||||
Addr: sentinelAddr,
|
||||
Dialer: c.opt.Dialer,
|
||||
|
||||
Password: c.password,
|
||||
|
||||
|
|
Loading…
Reference in New Issue