diff --git a/cns/restserver/ipam.go b/cns/restserver/ipam.go index 883d9aaef3..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("[AssignDesiredIPConfigs] Successfully assigned IPs for pod %+v", podInfo) + logger.Printf("[AssignAvailableIPConfigs] Successfully assigned IPs for pod %+v", podInfo) //nolint:staticcheck return podIPInfo, nil }