remove unnecessary comment in pkg/scheduler/framework.QueueingHintFn

event is not passed to QueueingHintFn but it exists a comment about it.
event is unnecessary in QueueingHintFn because QueueingHintFn is used in
ClusterEventWithHint and ClusterEventWithHint already have ClusterEvent.

Signed-off-by: Shingo Omura <everpeace@gmail.com>
This commit is contained in:
Shingo Omura 2023-06-29 21:19:00 +09:00
parent 7bac0cee89
commit d53762ec3a
No known key found for this signature in database

View File

@ -93,7 +93,6 @@ type ClusterEventWithHint struct {
// It's called before a Pod gets moved from unschedulableQ to backoffQ or activeQ.
//
// - `pod`: the Pod to be enqueued, which is rejected by this plugin in the past.
// - `event`: By which event the pod will be moved back to schedQ/backoffQ.
// - `oldObj` `newObj`: the object involved in that event.
// - For example, the given event is "Node deleted", the `oldObj` will be that deleted Node.
// - `oldObj` is nil if the event is add event.