mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Merge pull request #107051 from BinacsLee/binacs/cleanup-scheduler-internal-queue
scheduler: cleanup return value
This commit is contained in:
commit
ba2cd9ce97
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user