1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-25 08:21:55 +03:00

Merge pull request #1731 from angristan/remove-unused-variable

sentinel: removed unused field QuerySentinelRandomly
This commit is contained in:
Vladimir Mihailenco
2021-04-20 08:48:45 +03:00
committed by GitHub

View File

@ -40,8 +40,6 @@ type FailoverOptions struct {
// Now, this option only works in RandomSlaveAddr function.
UseDisconnectedSlaves bool
// Client queries sentinels in a random order
QuerySentinelRandomly bool
// Following options are copied from Options struct.
Dialer func(ctx context.Context, network, addr string) (net.Conn, error)