From 4af887b209585a48b00aa27d87cfe616fda45a09 Mon Sep 17 00:00:00 2001 From: Fenny <25108519+Fenny@users.noreply.github.com> Date: Sat, 31 Oct 2020 08:00:44 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=20remove=20private=20keys?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- redis/config.go | 3 --- redis/redis.go | 1 - 2 files changed, 4 deletions(-) diff --git a/redis/config.go b/redis/config.go index a59285d9..87a6addc 100644 --- a/redis/config.go +++ b/redis/config.go @@ -82,9 +82,6 @@ type Config struct { // if IdleTimeout is set. IdleCheckFrequency time.Duration - // Enables read only queries on slave nodes. - readOnly bool - // TLS Config to use. When set TLS will be negotiated. TLSConfig *tls.Config diff --git a/redis/redis.go b/redis/redis.go index 6a046a99..1f597daf 100644 --- a/redis/redis.go +++ b/redis/redis.go @@ -20,7 +20,6 @@ func New(config ...Config) Storage { // Override config if provided if len(config) > 0 { cfg = configDefault(config[0]) - } // Create new redis client