From a0ebd4dc5990d9b9c3862416362a294ebd7d8492 Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Wed, 9 Aug 2023 11:17:20 -0400 Subject: [PATCH] Linter bug suppression See https://github.com/timakin/bodyclose/issues/52 --- modules/caddyhttp/duplex_go121.go | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/caddyhttp/duplex_go121.go b/modules/caddyhttp/duplex_go121.go index 05614d0eea7f..a17d3afe7388 100644 --- a/modules/caddyhttp/duplex_go121.go +++ b/modules/caddyhttp/duplex_go121.go @@ -21,5 +21,6 @@ import ( ) func enableFullDuplex(w http.ResponseWriter) error { + //nolint:bodyclose return http.NewResponseController(w).EnableFullDuplex() }