Address various linter (staticcheck, modernize, etc.) comments.#671
Address various linter (staticcheck, modernize, etc.) comments.#671k8s-ci-robot merged 2 commits intokubernetes-csi:masterfrom
Conversation
|
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. |
|
/ok-to-test |
Strings are safe, because our existing keys were VA and PV names. Refresh go.mod with `GO111MODULE=on go mod tidy`.
|
Thanks for your contribution! /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: grant-he, jsafrane The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
What this PR does / why we need it: this PR seeks to update the external-attacher repo so various Go linters no longer
raise any warnings for the code. The repo should follow modern Go constructs and best practices, as well as migrate from deprecated symbols and package imports.
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