refactor: rename RedisHDelObj to RedisDelKey and update references

This commit is contained in:
RedwindA
2025-06-05 21:17:57 +08:00
parent 191f521926
commit eff9ce117f
3 changed files with 6 additions and 5 deletions

View File

@@ -92,9 +92,9 @@ func RedisDel(key string) error {
return RDB.Del(ctx, key).Err()
}
func RedisHDelObj(key string) error {
func RedisDelKey(key string) error {
if DebugEnabled {
SysLog(fmt.Sprintf("Redis HDEL: key=%s", key))
SysLog(fmt.Sprintf("Redis DEL Key: key=%s", key))
}
ctx := context.Background()
return RDB.Del(ctx, key).Err()