aboutsummaryrefslogtreecommitdiff
path: root/rediscache/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'rediscache/main.go')
-rw-r--r--rediscache/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rediscache/main.go b/rediscache/main.go
index 0135534..7b26ff5 100644
--- a/rediscache/main.go
+++ b/rediscache/main.go
@@ -104,7 +104,7 @@ func handle(pool *redis.Pool, key string, params bool, next http.Handler) http.H
}
client := pool.Get()
- defer client.Close()
+ defer client.Close() //nolint
subkey := r.URL.Path
if params {