mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 03:03:59 +00:00
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:
parent
7bac0cee89
commit
d53762ec3a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user