Skip to content

Commit

Permalink
Update redis_cluster.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mativm02 authored Jun 26, 2023
1 parent 5b846a8 commit 94ea37f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions storage/redis_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -591,9 +591,8 @@ func (r *RedisCluster) DeleteKey(keyName string) bool {
log.Debug(err)
return false
}
<<<<<<< HEAD
log.Debug("DEL Key was: ", keyName)
log.Debug("DEL Key became: ", r.fixKey(keyName))
log.Debug("DEL Key was: ", obfuscateKey(keyName))
log.Debug("DEL Key became: ", obfuscateKey(r.fixKey(keyName)))

singleton, err := r.singleton()
if err != nil {
Expand All @@ -602,11 +601,6 @@ func (r *RedisCluster) DeleteKey(keyName string) bool {
}

n, err := singleton.Del(r.RedisController.ctx, r.fixKey(keyName)).Result()
=======
log.Debug("DEL Key was: ", obfuscateKey(keyName))
log.Debug("DEL Key became: ", obfuscateKey(r.fixKey(keyName)))
n, err := r.singleton().Del(r.RedisController.ctx, r.fixKey(keyName)).Result()
>>>>>>> c8928382... Backport TT-9177 to 4.3.4 (#5153)
if err != nil {
log.WithError(err).Error("Error trying to delete key")
}
Expand Down

0 comments on commit 94ea37f

Please sign in to comment.