Merge pull request #107051 from BinacsLee/binacs/cleanup-scheduler-internal-queue

scheduler: cleanup return value
This commit is contained in:
Kubernetes Prow Robot
2021-12-15 07:06:19 -08:00
committed by GitHub

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