-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
enable errcheck and exclude all components which are not passing. #9726
enable errcheck and exclude all components which are not passing. #9726
Conversation
86847f4
to
607fee1
Compare
…h are not passing. Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
9f6f6b6
to
4307761
Compare
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.
LGTM! I created #9749 for the follow up work. Feel free to do as much or as little from the list as you want, otherwise each of the component's owners can also tackle their own component's issues.
Also, I would like to keep #9109 open, since it also refers to other linters. Could you change your PR description so that it fixes #9750 instead?
No problem, I've already changed comments. |
…en-telemetry#9726) * add errcheck to golangci-lint config, and exclude all components which are not passing. Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> * fix missing issues for linux Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> * fix missing issues for linux Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Description:
Fix #9750 as @mx-psi suggested, first enable
errcheck
and exclude all components that are not passing right now.Link to tracking Issue:
#9750
Signed-off-by: Ziqi Zhao zhaoziqi9146@gmail.com