Merge pull request #122443 from sanposhiho/nit-comment
scheduler: update an old comment
This commit is contained in:
		| @@ -342,7 +342,7 @@ func (sched *Scheduler) handleBindingCycleError( | |||||||
| 		// | 		// | ||||||
| 		// Avoid moving the assumed Pod itself as it's always Unschedulable. | 		// Avoid moving the assumed Pod itself as it's always Unschedulable. | ||||||
| 		// It's intentional to "defer" this operation; otherwise MoveAllToActiveOrBackoffQueue() would | 		// It's intentional to "defer" this operation; otherwise MoveAllToActiveOrBackoffQueue() would | ||||||
| 		// update `q.moveRequest` and thus move the assumed pod to backoffQ anyways. | 		// add this event to in-flight events and thus move the assumed pod to backoffQ anyways if the plugins don't have appropriate QueueingHint. | ||||||
| 		if status.IsRejected() { | 		if status.IsRejected() { | ||||||
| 			defer sched.SchedulingQueue.MoveAllToActiveOrBackoffQueue(logger, internalqueue.AssignedPodDelete, assumedPod, nil, func(pod *v1.Pod) bool { | 			defer sched.SchedulingQueue.MoveAllToActiveOrBackoffQueue(logger, internalqueue.AssignedPodDelete, assumedPod, nil, func(pod *v1.Pod) bool { | ||||||
| 				return assumedPod.UID != pod.UID | 				return assumedPod.UID != pod.UID | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Prow Robot
					Kubernetes Prow Robot