scheduler: cleanup return value

This commit is contained in:
BinacsLee 2021-12-15 21:51:42 +08:00
parent f6243782d0
commit d484b1aa3d

View File

@ -474,7 +474,7 @@ func (p *PriorityQueue) Pop() (*framework.QueuedPodInfo, error) {
pInfo := obj.(*framework.QueuedPodInfo)
pInfo.Attempts++
p.schedulingCycle++
return pInfo, err
return pInfo, nil
}
// isPodUpdated checks if the pod is updated in a way that it may have become