From 9286729c9a53a0d2d5655b783e9252400e674a2c Mon Sep 17 00:00:00 2001 From: Owen Cabalceta Date: Tue, 27 Feb 2024 12:20:12 -0500 Subject: [PATCH] chore: patch linter --- httpClient.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/httpClient.go b/httpClient.go index 6bb8025f..246803dc 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 }