mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 01:50:55 +00:00
Use PodInfo instead of Pod for nominatedPods and QueuedPodInfo
This commit is contained in:
@@ -325,7 +325,7 @@ func (sched *Scheduler) recordSchedulingFailure(fwk framework.Framework, podInfo
|
||||
// and the time the scheduler receives a Pod Update for the nominated pod.
|
||||
// Here we check for nil only for tests.
|
||||
if sched.SchedulingQueue != nil {
|
||||
sched.SchedulingQueue.AddNominatedPod(podInfo.Pod, nominatedNode)
|
||||
sched.SchedulingQueue.AddNominatedPod(podInfo.PodInfo, nominatedNode)
|
||||
}
|
||||
|
||||
pod := podInfo.Pod
|
||||
|
Reference in New Issue
Block a user