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
|
@ -372,7 +372,8 @@ func (c *sentinelFailover) masterAddr() (string, error) {
|
||||||
|
|
||||||
for i, sentinelAddr := range c.sentinelAddrs {
|
for i, sentinelAddr := range c.sentinelAddrs {
|
||||||
sentinel := NewSentinelClient(&Options{
|
sentinel := NewSentinelClient(&Options{
|
||||||
Addr: sentinelAddr,
|
Addr: sentinelAddr,
|
||||||
|
Dialer: c.opt.Dialer,
|
||||||
|
|
||||||
Password: c.password,
|
Password: c.password,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue