Skip to content

Commit 88ea161

Browse files
lint fix
1 parent df5d3d2 commit 88ea161

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

cns/restserver/ipam.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,11 @@ func (service *HTTPRestService) AssignAvailableIPConfigs(podInfo cns.PodInfo) ([
10881088
return podIPInfo, fmt.Errorf("not enough IPs available, waiting on Azure CNS to allocate more")
10891089
}
10901090

1091-
logger.Printf("[AssignAvailableIPConfigs] Successfully assigned IPs for pod %+v", podInfo) //nolint:staticcheck // Todo: legacy logger usage is consistent in cns repo. Migrates when all logger usage is migrated
1091+
// Todo: legacy logger usage is consistent in cns repo. Migrates when all logger usage is migrated
1092+
logger.Printf(
1093+
"[AssignAvailableIPConfigs] Successfully assigned IPs for pod %+v",
1094+
podInfo, //nolint:staticcheck
1095+
)
10921096
return podIPInfo, nil
10931097
}
10941098

examples/imds_nc_lookup.go

Whitespace-only changes.

0 commit comments

Comments
 (0)