From 7a5c43ef8da8c513fd64f8f6eca2d9f5bf8e9b63 Mon Sep 17 00:00:00 2001 From: justinsb Date: Sun, 16 Jul 2023 22:58:37 -0400 Subject: [PATCH] Fix comment on patchNodePodCIDRs Cleanup; no change in behavior. --- cmd/kops-controller/controllers/awsipam.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kops-controller/controllers/awsipam.go b/cmd/kops-controller/controllers/awsipam.go index f9b93377a7..349bc8d47b 100644 --- a/cmd/kops-controller/controllers/awsipam.go +++ b/cmd/kops-controller/controllers/awsipam.go @@ -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{