From c6282e7b279942909a87a88951f1a69db94e0b15 Mon Sep 17 00:00:00 2001 From: AllenX2018 Date: Wed, 18 Nov 2020 09:56:56 +0800 Subject: [PATCH] remove ineffectual assignment to err --- client/cache/redis/redis_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cache/redis/redis_test.go b/client/cache/redis/redis_test.go index 75ba50c5..c8cf0024 100644 --- a/client/cache/redis/redis_test.go +++ b/client/cache/redis/redis_test.go @@ -113,7 +113,7 @@ func TestRedisCache(t *testing.T) { t.Error("GetMulti ERROR") } - vv, err = bm.GetMulti(context.Background(), []string{"astaxie0", "astaxie1"}) + vv, _ = bm.GetMulti(context.Background(), []string{"astaxie0", "astaxie1"}) if vv[0] != nil { t.Error("GetMulti ERROR") }