more lint fixes
This commit is contained in:
parent
f72ec25093
commit
b4fa85eba0
@ -34,7 +34,6 @@ linters:
|
||||
- gosec
|
||||
- lll
|
||||
- makezero
|
||||
- maligned
|
||||
- misspell
|
||||
- nestif
|
||||
- prealloc
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user