-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(lint): Enable linting with gosimple #26965
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hubble files LGTM. Minor improvement suggested but non-blocking.
I can apply that, will it reset the approvals though? |
No, but it will rerun tests. |
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 🚀
6d9e140
to
c761b46
Compare
This fixes issues found by the gosimple linter and enables it in the golangci config. Signed-off-by: Manuel Rüger <manuel@rueg.eu>
/test |
This fixes issues found by the gosimple linter and enables it in the golangci config. gosimple is enabled by default in golang-ci.
Unfortunately it touches a lot of different code, please let me know if you want to have the PR broken down per file path.
Please ensure your pull request adheres to the following guidelines:
description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.
Fixes: <commit-id>
tag, thenplease add the commit author[s] as reviewer[s] to this issue.