Address various linter (staticcheck, modernize, etc.) comments.#517
Address various linter (staticcheck, modernize, etc.) comments.#517grant-he wants to merge 3 commits intokubernetes-csi:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: grant-he The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Welcome @grant-he! |
|
Hi @grant-he. Thanks for your PR. I'm waiting for a kubernetes-csi member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Since type any = interface{}, there should be 0 runtime risks. Code will only fail to compile on any Go version prior to 1.18 which is a fairly old version for resizer. /lgtm |
|
/ok-to-test |
|
New changes are detected. LGTM label has been removed. |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@grant-he Do we still need this PR? If not can we close it please? If yes, please rebase. |
|
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
What type of PR is this?
/kind cleanup
What this PR does / why we need it: this PR seeks to update the external-resizer repo so various Go linters no longer
raise any warnings for the code. The repo should follow modern Go constructs and best practices.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: I am happy to explain any part of my change.
Does this PR introduce a user-facing change?: no