From 4a9b7ce79a466d752ad5e48516aff5e502c9b036 Mon Sep 17 00:00:00 2001 From: AdamKorcz Date: Fri, 5 Feb 2021 21:45:09 +0000 Subject: [PATCH] Fixed broken fuzzer --- fuzz/fuzz.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fuzz/fuzz.go b/fuzz/fuzz.go index 8637a96..133ccec 100644 --- a/fuzz/fuzz.go +++ b/fuzz/fuzz.go @@ -4,16 +4,17 @@ package fuzz import ( "context" + "github.com/go-redis/redis" "time" ) var ( ctx = context.Background() - rdb *Client + rdb *redis.Client ) func init() { - rdb = NewClient(&Options{ + rdb = redis.NewClient(&redis.Options{ Addr: ":6379", DialTimeout: 10 * time.Second, ReadTimeout: 10 * time.Second,