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
commit ba2cd9ce97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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