mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-21 03:28:59 +02:00
fix lint
This commit is contained in:
+1
-1
@@ -317,7 +317,7 @@ func crowdsecQuery(a *Bouncer, stringURL string) ([]byte) {
|
||||
return nil
|
||||
}
|
||||
defer func (body io.ReadCloser) {
|
||||
err := body.Close()
|
||||
err = body.Close()
|
||||
if err != nil {
|
||||
log.Printf("failed to close body reader: %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user