Merge pull request #1192 from jkt628/sentinel-proxy

sentinel uses configured Dialer
This commit is contained in:
Vladimir Mihailenco 2019-11-18 10:14:00 +02:00 committed by GitHub
commit da5cd5af3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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,