Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/httprange/resource.go')
-rw-r--r--internal/httprange/resource.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/httprange/resource.go b/internal/httprange/resource.go
index 1da1af95..f90e6f5f 100644
--- a/internal/httprange/resource.go
+++ b/internal/httprange/resource.go
@@ -78,7 +78,6 @@ func NewResource(ctx context.Context, url string, httpClient *http.Client) (*Res
// we fetch a single byte and ensure that range requests is additionally supported
req.Header.Set("Range", fmt.Sprintf("bytes=%d-%d", 0, 0))
- // nolint: bodyclose
// body will be closed by discardAndClose
res, err := httpClient.Do(req)
if err != nil {