fix Error

This commit is contained in:
zhangdeman committed 2024-06-18 15:04:38 +08:00
1 parent 2084fdaecb
commit 929fab208a
1 file changed
+1 -1
+1 -1
View File
@@ -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()
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.