Commit 15607996 by RedwindA

fix: change RedisHDelObj to use Del instead of HDel

parent b72e641d
......@@ -97,7 +97,7 @@ func RedisHDelObj(key string) error {
SysLog(fmt.Sprintf("Redis HDEL: key=%s", key))
}
ctx := context.Background()
return RDB.HDel(ctx, key).Err()
return RDB.Del(ctx, key).Err()
}
func RedisHSetObj(key string, obj interface{}, expiration time.Duration) error {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment