Skip to content

Commit 85118ff

Browse files
Delete examples/imds_nc_lookup.go
Signed-off-by: NihaNallappagari <[email protected]> fix lint .
1 parent a734e88 commit 85118ff

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cns/restserver/ipam.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,9 +1088,10 @@ 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+
//lint:ignore SA1019 suppress deprecated logger.Printf usage. Todo: legacy logger usage is consistent in cns repo. Migrates when all logger usage is migrated
10911092
logger.Printf(
10921093
"[AssignAvailableIPConfigs] Successfully assigned IPs for pod %+v",
1093-
podInfo, //nolint:staticcheck // Todo: legacy logger usage is consistent in cns repo. Migrates when all logger usage is migrated
1094+
podInfo,
10941095
)
10951096
return podIPInfo, nil
10961097
}

examples/imds_nc_lookup.go

Whitespace-only changes.

0 commit comments

Comments
 (0)