From 929fab208a156419ed58192ef030669c62322b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Tue, 18 Jun 2024 15:04:38 +0800 Subject: [PATCH] fix Error --- apply/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apply/cache.go b/apply/cache.go index 9e5ec2b..48900d7 100644 --- a/apply/cache.go +++ b/apply/cache.go @@ -30,7 +30,7 @@ func (c *cache) Set(ctx *redis.Context, key string, value interface{}) error { rc *redis.RealClient ) - if rc, err = redis.Client.GetRedisClient(ctx.Flag); nil != err { + if rc, err = redis.Client.GetRedisClientWithError(ctx.Flag); nil != err { return err } return rc.Master.Set(nil, key, value, -1).Err()