From b4fa85eba0972dc794645891400d2b827e375e54 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Fri, 29 Dec 2023 11:46:18 +0300 Subject: [PATCH] more lint fixes --- .golangci.yml | 1 - v1/errors.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 02a09bc..24fc177 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -34,7 +34,6 @@ linters: - gosec - lll - makezero - - maligned - misspell - nestif - prealloc diff --git a/v1/errors.go b/v1/errors.go index 2f7dd3e..8179505 100644 --- a/v1/errors.go +++ b/v1/errors.go @@ -88,7 +88,7 @@ func AsClientError(err error) *HTTPClientError { if err == nil { return nil } - if typed, ok := err.(*HTTPClientError); ok { + if typed, ok := err.(*HTTPClientError); ok { //nolint:errorlint return typed } err = errors.Unwrap(err)