From 7c641fa8ac099f31cb77e4d8ed7e51c2ed479083 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Tue, 8 Oct 2024 16:47:27 +0300 Subject: [PATCH] fixup nil pointer assign Signed-off-by: Vasiliy Tolstov --- redis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.go b/redis.go index 7d16460..67b2f44 100755 --- a/redis.go +++ b/redis.go @@ -625,7 +625,7 @@ func NewStore(opts ...store.Option) *Store { } func (r *Store) configure() error { - var universalOptions *goredis.UniversalOptions + universalOptions := &goredis.UniversalOptions{} if r.cli != nil && r.opts.Context == nil { return nil