From 1a4939464a82ffd34856afdc0c5bd1d469b43366 Mon Sep 17 00:00:00 2001 From: jpayne3506 Date: Fri, 26 Sep 2025 14:25:23 -0500 Subject: [PATCH 1/2] fix: Improper CNS log --- cns/restserver/ipam.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cns/restserver/ipam.go b/cns/restserver/ipam.go index 883d9aaef3..f92a72c56a 100644 --- a/cns/restserver/ipam.go +++ b/cns/restserver/ipam.go @@ -1061,7 +1061,7 @@ func (service *HTTPRestService) AssignAvailableIPConfigs(podInfo cns.PodInfo) ([ return podIPInfo, fmt.Errorf("not enough IPs available, waiting on Azure CNS to allocate more") } - logger.Printf("[AssignDesiredIPConfigs] Successfully assigned IPs for pod %+v", podInfo) + logger.Printf("[AssignAvailableIPConfigs] Successfully assigned IPs for pod %+v", podInfo) return podIPInfo, nil } From afbe105f6b0ceded6e56a55cab6729d88d73e46d Mon Sep 17 00:00:00 2001 From: jpayne3506 Date: Mon, 29 Sep 2025 11:32:52 -0500 Subject: [PATCH 2/2] chore: no lint --- cns/restserver/ipam.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cns/restserver/ipam.go b/cns/restserver/ipam.go index f92a72c56a..cce592b752 100644 --- a/cns/restserver/ipam.go +++ b/cns/restserver/ipam.go @@ -1061,7 +1061,7 @@ func (service *HTTPRestService) AssignAvailableIPConfigs(podInfo cns.PodInfo) ([ return podIPInfo, fmt.Errorf("not enough IPs available, waiting on Azure CNS to allocate more") } - logger.Printf("[AssignAvailableIPConfigs] Successfully assigned IPs for pod %+v", podInfo) + logger.Printf("[AssignAvailableIPConfigs] Successfully assigned IPs for pod %+v", podInfo) //nolint:staticcheck return podIPInfo, nil }