From e5a1279ef25b83bae46f74f8fa543bd9a6ce903c Mon Sep 17 00:00:00 2001 From: Firmino Changani Date: Sat, 6 Jan 2024 16:23:07 +0000 Subject: [PATCH] wip --- internal/adapters/endpoint_checkers/http_checker.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/adapters/endpoint_checkers/http_checker.go b/internal/adapters/endpoint_checkers/http_checker.go index 0513bef..9ceb126 100644 --- a/internal/adapters/endpoint_checkers/http_checker.go +++ b/internal/adapters/endpoint_checkers/http_checker.go @@ -128,5 +128,6 @@ func mapHeadersToString(headers http.Header) string { } func randomUserAgent(userAgents *[]string, max int) string { + //nolint:gosec return (*userAgents)[rand.Intn(max-0)+0] }