From 105d489aa441b1fe43b1b6db0cc98c2797998aaa Mon Sep 17 00:00:00 2001 From: Kensei Nakada Date: Thu, 7 Nov 2024 11:54:42 +0900 Subject: [PATCH] chore: wording --- pkg/scheduler/backend/queue/scheduling_queue.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/scheduler/backend/queue/scheduling_queue.go b/pkg/scheduler/backend/queue/scheduling_queue.go index df9697a2789..06f25037bb7 100644 --- a/pkg/scheduler/backend/queue/scheduling_queue.go +++ b/pkg/scheduler/backend/queue/scheduling_queue.go @@ -621,7 +621,8 @@ func (p *PriorityQueue) Activate(logger klog.Logger, pods map[string]*v1.Pod) { continue } - // If this pod is in-flight, register the activation event or update moveRequestCycle so that the pod will be requeued when it comes back. + // If this pod is in-flight, register the activation event (for when QHint is enabled) or update moveRequestCycle (for when QHints is disabled) + // so that the pod will be requeued when it comes back. // Specifically in the in-tree plugins, this is for the scenario with the preemption plugin // where the async preemption API calls are all done or fail at some point before the Pod comes back to the queue. p.activeQ.addEventsIfPodInFlight(nil, pod, []framework.ClusterEvent{framework.EventForceActivate})