Skip to content

Commit 8c9f567

Browse files
fix lint
1 parent 84fc0a4 commit 8c9f567

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cns/restserver/ipam.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,10 +1087,11 @@ func (service *HTTPRestService) AssignAvailableIPConfigs(podInfo cns.PodInfo) ([
10871087
//nolint:goerr113 // return error
10881088
return podIPInfo, fmt.Errorf("not enough IPs available, waiting on Azure CNS to allocate more")
10891089
}
1090-
1090+
//lint:ignore SA1019 suppress deprecated logger.Printf usage
1091+
// 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
}

0 commit comments

Comments
 (0)