mirror of https://github.com/go-redis/redis.git
Merge pull request #1731 from angristan/remove-unused-variable
sentinel: removed unused field QuerySentinelRandomly
This commit is contained in:
commit
b7720fd8e7
|
@ -40,8 +40,6 @@ type FailoverOptions struct {
|
||||||
// Now, this option only works in RandomSlaveAddr function.
|
// Now, this option only works in RandomSlaveAddr function.
|
||||||
UseDisconnectedSlaves bool
|
UseDisconnectedSlaves bool
|
||||||
|
|
||||||
// Client queries sentinels in a random order
|
|
||||||
QuerySentinelRandomly bool
|
|
||||||
// Following options are copied from Options struct.
|
// Following options are copied from Options struct.
|
||||||
|
|
||||||
Dialer func(ctx context.Context, network, addr string) (net.Conn, error)
|
Dialer func(ctx context.Context, network, addr string) (net.Conn, error)
|
||||||
|
|
Loading…
Reference in New Issue