refactor: rename RedisHDelObj to RedisDelKey and update references
This commit is contained in:
1 parent
15607996e6
commit
098c1e8829
3 files changed
+6
-5
No files matched your search
+2
-2
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user