mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 19:23:40 +00:00
Fix opIndex in log when deleting pod failed in scheduler_perf
This commit is contained in:
parent
856475e5ff
commit
2d4d7e0b5f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user