mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
fix flushBackoffQCompleted: remove defer
'defer' is called in the 'for' loop, remove it
This commit is contained in:
parent
3f6793de48
commit
c3bfb568f9
@ -428,7 +428,7 @@ func (p *PriorityQueue) flushBackoffQCompleted() {
|
||||
}
|
||||
p.activeQ.Add(rawPodInfo)
|
||||
metrics.SchedulerQueueIncomingPods.WithLabelValues("active", BackoffComplete).Inc()
|
||||
defer p.cond.Broadcast()
|
||||
p.cond.Broadcast()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user