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
csi: Fix socket extension comment #78736
Conversation
Welcome @endocrimes! |
Hi @endocrimes. Thanks for your PR. I'm waiting for a kubernetes 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. Instructions 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/test-infra repository. |
/sig storage |
/assign @vladimirvivien |
pkg/volume/csi/csi_plugin.go
Outdated
@@ -51,8 +51,6 @@ const ( | |||
|
|||
// TODO (vladimirvivien) implement a more dynamic way to discover | |||
// the unix domain socket path for each installed csi driver. | |||
// TODO (vladimirvivien) would be nice to name socket with a .sock extension | |||
// for consistency. | |||
csiAddrTemplate = "/var/lib/kubelet/plugins/%v/csi.sock" |
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.
I believe this is no longer used as well, that line can also be removed.
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.
Referring to the csiAddrTemplate
variable here.
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.
hmm i'll give it a git-grep later 👍
/ok-to-test |
/lgtm |
/retest |
The CSI socket has used a sock extension since 179d8e1. This removes the stale TODO for updating it.
88f0c5c
to
d4c189d
Compare
Just removed the unused var too 👍 Sorry for taking a while - was mostly heads down on unrelated things. |
/lgtm Thanks |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: endocrimes, vladimirvivien The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs 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:
The CSI socket has used a sock extension since 179d8e1. This removes
the stale TODO for updating it.
Special notes for your reviewer:
Does this PR introduce a user-facing change?: