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
- lll
- makezero
- maligned
- misspell
- nestif
- prealloc

View File

@ -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)