mirror of https://github.com/go-redis/redis.git
Merge pull request #1192 from jkt628/sentinel-proxy
sentinel uses configured Dialer
This commit is contained in:
commit
da5cd5af3e
|
@ -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