Fix a lot of linting issues
After we introduced the linter we haven't really touched the old code. This commit now fixes all linting issue that exist right now.
This commit is contained in:
@ -93,3 +93,7 @@ issues:
|
||||
- path: _test\.go
|
||||
linters:
|
||||
- noctx
|
||||
# Always closing the HTTP body unnecessarily complicates the tests
|
||||
- bodyclose
|
||||
# We don't need to wrap errors in tests
|
||||
- wrapcheck
|
Reference in New Issue
Block a user