Skip to content

Commit

Permalink
Merge pull request redis#1192 from jkt628/sentinel-proxy
Browse files Browse the repository at this point in the history
sentinel uses configured Dialer
  • Loading branch information
vmihailenco authored Nov 18, 2019
2 parents 726ddef + 6a53292 commit da5cd5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sentinel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down

0 comments on commit da5cd5a

Please sign in to comment.