diff --git a/pkg/scheduler/internal/queue/scheduling_queue.go b/pkg/scheduler/internal/queue/scheduling_queue.go index c50d853ba6c..19432b6ab1f 100644 --- a/pkg/scheduler/internal/queue/scheduling_queue.go +++ b/pkg/scheduler/internal/queue/scheduling_queue.go @@ -294,7 +294,7 @@ type QueueingHintMapPerProfile map[string]QueueingHintMap // QueueingHintMap is keyed with ClusterEvent, valued with queueing hint functions registered for the event. type QueueingHintMap map[framework.ClusterEvent][]*QueueingHintFunction -// WithQueueingHintMapPerProfile sets preEnqueuePluginMap for PriorityQueue. +// WithQueueingHintMapPerProfile sets queueingHintMap for PriorityQueue. func WithQueueingHintMapPerProfile(m QueueingHintMapPerProfile) Option { return func(o *priorityQueueOptions) { o.queueingHintMap = m