From 71502a3e448cf139faf9c6e4d10c67d247f55bd8 Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Mon, 19 Apr 2021 18:52:32 +0200 Subject: [PATCH] sentinel: removed unused field QuerySentinelRandomly Introduced in 8b19c310495637fb61e2b237abdedca922aced9a but all references were removed in 8d9ebc8459c6d3925c61ce3da78ac17118a118fd --- sentinel.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/sentinel.go b/sentinel.go index efa2a41d..fdbbf7b6 100644 --- a/sentinel.go +++ b/sentinel.go @@ -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)