-
Notifications
You must be signed in to change notification settings - Fork 212
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
staticcheck lint fixes #2176
staticcheck lint fixes #2176
Conversation
Signed-off-by: Tanmay Chaudhry <[email protected]>
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.
Looks good! I just have a couple small changes that need to be made and this is ready to merge.
Co-authored-by: Carolyn Van Slyck <[email protected]> Signed-off-by: Tanmay Chaudhry <[email protected]>
Signed-off-by: Tanmay Chaudhry <[email protected]>
@carolynvs completed changes as requested! |
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 for cleaning up all the lint errors! This is really helpful and we can finally enforce no lint errors going forward in our builds. 💪
Hehe. Thanks @carolynvs but there are a few staticcheck fixes still left before we enforce lint in the CI. The remaining changes may require your input though or atleast I felt like there was something not totally straightforward with those. |
@tchaudhry91 oops, I must have missed that. Are we tracking that problem in another issue or pull request? |
@carolynvs we can track it in #2081 only. I'll update it with the remaining fixes. |
What does this change
A bunch of staticcheck fixes that I felt were straightforward. Some maybe debatable and can be "ignored" or worked around. Those can be discussed in the PR.
What issue does it fix
#2081 - Incremental Progress
Notes for the reviewer
Some fairly straightforward things unchecked errors etc have been fixed. A couple of potential bugs as well (checking err instead of !ok).
Checklist
Reviewer Checklist