From 041efcd1d40b4fc4e92da1d2f65e5a6951f4c631 Mon Sep 17 00:00:00 2001 From: Kensei Nakada Date: Fri, 22 Dec 2023 02:01:13 +0000 Subject: [PATCH] scheduler: update an old comment --- pkg/scheduler/schedule_one.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/scheduler/schedule_one.go b/pkg/scheduler/schedule_one.go index 5cf4c5d31c2..c38aca0dd36 100644 --- a/pkg/scheduler/schedule_one.go +++ b/pkg/scheduler/schedule_one.go @@ -342,7 +342,7 @@ func (sched *Scheduler) handleBindingCycleError( // // Avoid moving the assumed Pod itself as it's always Unschedulable. // 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() { defer sched.SchedulingQueue.MoveAllToActiveOrBackoffQueue(logger, internalqueue.AssignedPodDelete, assumedPod, nil, func(pod *v1.Pod) bool { return assumedPod.UID != pod.UID