mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-21 11:38:59 +02:00
✨ add delete
This commit is contained in:
Vendored
+1
-5
@@ -51,11 +51,7 @@ func setDecisionRedisCache(clientIP string, value string, duration int64) {
|
||||
}
|
||||
|
||||
func deleteDecisionRedisCache(clientIP string) {
|
||||
// err := rdb.Del(ctx, clientIP).Err()
|
||||
// if err != nil {
|
||||
// logger.Info("Error, could not delete in redis cache IP")
|
||||
// }
|
||||
// errors are not handled
|
||||
redis.Del(clientIP)
|
||||
}
|
||||
|
||||
func DeleteDecision(clientIP string) {
|
||||
|
||||
Reference in New Issue
Block a user