Add more //nolint:staticcheck for failures caught in PR tests

This commit is contained in:
Hanna Lee
2021-07-18 14:48:32 -04:00
committed by Antonio Ojea
parent c862d7c0e9
commit c8fde197f5
3 changed files with 6 additions and 6 deletions

View File

@@ -440,7 +440,7 @@ func benchmarkScheduling(numExistingPods, minPods int,
b *testing.B) {
if b.N < minPods {
//lint:ignore SA3001 Set a minimum for b.N to get more meaningful results
b.N = minPods
b.N = minPods //nolint:staticcheck
}
finalFunc, podInformer, clientset, _ := mustSetupScheduler(nil)
defer finalFunc()