1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-22 10:01:50 +03:00

sentinel: removed unused field QuerySentinelRandomly

Introduced in 8b19c31049
but all references were removed in 8d9ebc8459
This commit is contained in:
Stanislas Lange
2021-04-19 18:52:32 +02:00
parent 06183e65f8
commit 71502a3e44

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)