chore(lint): suppress gosec false positives on SSRF-safe HTTP client calls

This commit is contained in:
kolaente
2026-03-23 16:52:25 +01:00
committed by kolaente
parent 848a4e7f07
commit cc22acdf3e
6 changed files with 9 additions and 9 deletions

View File

@@ -48,7 +48,7 @@ func DownloadFileWithHeaders(url string, headers http.Header) (buf *bytes.Buffer
}
hc := utils.NewSSRFSafeHTTPClient()
resp, err := hc.Do(req)
resp, err := hc.Do(req) //nolint:gosec // SSRF protection is handled by the SSRF-safe client
if err != nil {
return nil, err
}