-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Remove unused getClusterCIDR() #59683
Conversation
@oomichi: Adding do-not-merge/release-note-label-needed because the release note process has not been followed. One of the following labels is required "release-note", "release-note-action-required", or "release-note-none". 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. |
/ok-to-test |
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.
@oomichi thanks for this PR!
I'm fine with what you are proposing.
To complete the PR can you kindly cleanup the clusterCIDR variable at line 80 in cmd/kubeadm/app/phases/addons/proxy/proxy.go
as well?
Thank you for your review, that is a nice point :-) |
getClusterCIDR() has been unused since the PR 57305[1], so this removes the method for code cleanup. [1]: kubernetes#57305
/area kubeadm /lgtm |
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
👍
/assign @luxas |
/assign @timothysc for approval |
@fabriziopandini: GitHub didn't allow me to assign the following users: for, approval. Note that only kubernetes members and repo collaborators can be assigned. In response to this:
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. |
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.
/approve
/sig cluster-lifecycle |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dixudx, fabriziopandini, oomichi, timothysc 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 |
/test pull-kubernetes-bazel-build |
/test pull-kubernetes-e2e-gce-device-plugin-gpu |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
What this PR does / why we need it:
getClusterCIDR() has been unused since the PR 573051, so this
removes the method for code cleanup.
Release note: "NONE"