From b66d52f6a8bd583d5ab3ec5168d5d84df9a0d11c Mon Sep 17 00:00:00 2001 From: raymonder jin Date: Thu, 5 Aug 2021 20:15:29 +0800 Subject: [PATCH] make notes more easily to understand --- pkg/scheduler/internal/queue/scheduling_queue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/scheduler/internal/queue/scheduling_queue.go b/pkg/scheduler/internal/queue/scheduling_queue.go index 6e08221df1f..5924edfb787 100644 --- a/pkg/scheduler/internal/queue/scheduling_queue.go +++ b/pkg/scheduler/internal/queue/scheduling_queue.go @@ -529,7 +529,7 @@ func (p *PriorityQueue) AssignedPodUpdated(pod *v1.Pod) { // MoveAllToActiveOrBackoffQueue moves all pods from unschedulableQ to activeQ or backoffQ. // This function adds all pods and then signals the condition variable to ensure that -// if Pop() is waiting for an item, it receives it after all the pods are in the +// if Pop() is waiting for an item, it receives the signal after all the pods are in the // queue and the head is the highest priority pod. func (p *PriorityQueue) MoveAllToActiveOrBackoffQueue(event framework.ClusterEvent, preCheck PreEnqueueCheck) { p.lock.Lock()