Skip to content

Commit 75d1d54

Browse files
committed
changes
1 parent 47cbdbc commit 75d1d54

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

cns/restserver/ipam.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ func (service *HTTPRestService) AssignAvailableIPConfigs(podInfo cns.PodInfo) ([
10951095
return podIPInfo, fmt.Errorf("not enough IPs available, waiting on Azure CNS to allocate more")
10961096
}
10971097

1098-
logger.Printf("[AssignAvailableIPConfigs] Successfully assigned IPs for pod %+v", podIPInfo)
1098+
logger.Printf("[AssignAvailableIPConfigs] Successfully assigned IPs for pod %+v", podInfo)
10991099
return podIPInfo, nil
11001100
}
11011101

cns/service/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,6 @@ func getPodInfoByIPProvider(
17111711
func createOrUpdateNodeInfoCRD(ctx context.Context, restConfig *rest.Config, node *corev1.Node) error {
17121712
imdsCli := imds.NewClient()
17131713
vmUniqueID, err := imdsCli.GetVMUniqueID(ctx)
1714-
17151714
if err != nil {
17161715
return errors.Wrap(err, "error getting vm unique ID from imds")
17171716
}

0 commit comments

Comments
 (0)