1
0
mirror of synced 2024-11-21 20:46:05 +03:00

more lint fixes

This commit is contained in:
Pavel 2023-12-29 11:46:18 +03:00
parent f72ec25093
commit b4fa85eba0
2 changed files with 1 additions and 2 deletions

View File

@ -34,7 +34,6 @@ linters:
- gosec - gosec
- lll - lll
- makezero - makezero
- maligned
- misspell - misspell
- nestif - nestif
- prealloc - prealloc

View File

@ -88,7 +88,7 @@ func AsClientError(err error) *HTTPClientError {
if err == nil { if err == nil {
return nil return nil
} }
if typed, ok := err.(*HTTPClientError); ok { if typed, ok := err.(*HTTPClientError); ok { //nolint:errorlint
return typed return typed
} }
err = errors.Unwrap(err) err = errors.Unwrap(err)