diff --git a/httpClient.go b/httpClient.go index 6bb8025..246803d 100644 --- a/httpClient.go +++ b/httpClient.go @@ -102,7 +102,10 @@ func getDoErrReason(err error) string { return opErrReason } else if errors.Is(err, net.UnknownNetworkError("")) { return networkErrReason - } else if err, ok := err.(*url.Error); ok { + } + + // nolint: errorlint + if err, ok := err.(*url.Error); ok { if strings.TrimSpace(strings.ToLower(err.Unwrap().Error())) == "eof" { return connectionUnexpectedlyClosedEOFReason }