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
commit b7720fd8e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

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