Skip to content

Commit

Permalink
Merge pull request #1731 from angristan/remove-unused-variable
Browse files Browse the repository at this point in the history
sentinel: removed unused field QuerySentinelRandomly
  • Loading branch information
vmihailenco authored Apr 20, 2021
2 parents 06183e6 + 71502a3 commit b7720fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sentinel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b7720fd

Please sign in to comment.