mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
sentinel uses configured Dialer
such as https://godoc.org/golang.org/x/net/proxy#PerHost
This commit is contained in:
@ -372,7 +372,8 @@ func (c *sentinelFailover) masterAddr() (string, error) {
|
||||
|
||||
for i, sentinelAddr := range c.sentinelAddrs {
|
||||
sentinel := NewSentinelClient(&Options{
|
||||
Addr: sentinelAddr,
|
||||
Addr: sentinelAddr,
|
||||
Dialer: c.opt.Dialer,
|
||||
|
||||
Password: c.password,
|
||||
|
||||
|
Reference in New Issue
Block a user