mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-21 11:38:59 +02:00
fix lint
This commit is contained in:
+2
-2
@@ -339,8 +339,8 @@ func handleStreamCache(a *Bouncer, initialized bool) {
|
||||
a.crowdsecStreamHealthy = true
|
||||
}
|
||||
|
||||
func closeBody(Body io.ReadCloser) {
|
||||
err := Body.Close()
|
||||
func closeBody(body io.ReadCloser) {
|
||||
err := body.Close()
|
||||
if err != nil {
|
||||
log.Printf("failed to close body reader: %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user