diff --git a/sentinel.go b/sentinel.go index d40ceaf..c10a26c 100644 --- a/sentinel.go +++ b/sentinel.go @@ -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,