Merge pull request #127395 from macsko/fix_scheduler_perf_log_when_deleting_pod_failed

Fix opIndex in log when deleting pod failed in scheduler_perf
This commit is contained in:
Kubernetes Prow Robot 2024-09-17 00:35:14 +01:00 committed by GitHub
commit b4140391cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1239,7 +1239,7 @@ func runWorkload(tCtx ktesting.TContext, tc *testCase, w *workload, informerFact
defer ticker.Stop()
wg.Add(1)
go func() {
go func(opIndex int) {
defer wg.Done()
for i := 0; i < len(pods); i++ {
select {
@ -1254,7 +1254,7 @@ func runWorkload(tCtx ktesting.TContext, tc *testCase, w *workload, informerFact
return
}
}
}()
}(opIndex)
}
case *churnOp: