Skip to content

Commit da5cd5a

Browse files
authored
Merge pull request #1192 from jkt628/sentinel-proxy
sentinel uses configured Dialer
2 parents 726ddef + 6a53292 commit da5cd5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sentinel.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,8 @@ func (c *sentinelFailover) masterAddr() (string, error) {
372372

373373
for i, sentinelAddr := range c.sentinelAddrs {
374374
sentinel := NewSentinelClient(&Options{
375-
Addr: sentinelAddr,
375+
Addr: sentinelAddr,
376+
Dialer: c.opt.Dialer,
376377

377378
Password: c.password,
378379

0 commit comments

Comments
 (0)