Merge pull request #15651 from justinsb/fix_incorrect_comment

Fix comment on patchNodePodCIDRs
This commit is contained in:
Kubernetes Prow Robot 2023-07-16 20:51:08 -07:00 committed by GitHub
commit da4b14bcca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ type nodePatchSpec struct {
PodCIDRs []string `json:"podCIDRs,omitempty"`
}
// patchNodeLabels patches the node labels to set the specified labels
// patchNodePodCIDRs patches the node podCIDR to the specified value.
func patchNodePodCIDRs(client *corev1client.CoreV1Client, ctx context.Context, node *corev1.Node, cidr string) error {
klog.Infof("assigning cidr %q to node %q", cidr, node.ObjectMeta.Name)
nodePatchSpec := &nodePatchSpec{