fix typo scheduling queue to active queue

This commit is contained in:
lixiaobing1 2021-07-20 14:01:35 +08:00
parent e847b849c4
commit 51e4694cd6

View File

@ -287,7 +287,7 @@ func (p *PriorityQueue) Add(pod *v1.Pod) error {
defer p.lock.Unlock()
pInfo := p.newQueuedPodInfo(pod)
if err := p.activeQ.Add(pInfo); err != nil {
klog.ErrorS(err, "Error adding pod to the scheduling queue", "pod", klog.KObj(pod))
klog.ErrorS(err, "Error adding pod to the active queue", "pod", klog.KObj(pod))
return err
}
if p.unschedulableQ.get(pod) != nil {