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] }