Skip to content

Commit 105d489

Browse files
committed
chore: wording
1 parent e601eb7 commit 105d489

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/scheduler/backend/queue/scheduling_queue.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,8 @@ func (p *PriorityQueue) Activate(logger klog.Logger, pods map[string]*v1.Pod) {
621621
continue
622622
}
623623

624-
// If this pod is in-flight, register the activation event or update moveRequestCycle so that the pod will be requeued when it comes back.
624+
// If this pod is in-flight, register the activation event (for when QHint is enabled) or update moveRequestCycle (for when QHints is disabled)
625+
// so that the pod will be requeued when it comes back.
625626
// Specifically in the in-tree plugins, this is for the scenario with the preemption plugin
626627
// where the async preemption API calls are all done or fail at some point before the Pod comes back to the queue.
627628
p.activeQ.addEventsIfPodInFlight(nil, pod, []framework.ClusterEvent{framework.EventForceActivate})

0 commit comments

Comments
 (0)