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:
@@ -93,7 +93,6 @@ type ClusterEventWithHint struct {
|
|||||||
// It's called before a Pod gets moved from unschedulableQ to backoffQ or activeQ.
|
// 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.
|
// - `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.
|
// - `oldObj` `newObj`: the object involved in that event.
|
||||||
// - For example, the given event is "Node deleted", the `oldObj` will be that deleted Node.
|
// - For example, the given event is "Node deleted", the `oldObj` will be that deleted Node.
|
||||||
// - `oldObj` is nil if the event is add event.
|
// - `oldObj` is nil if the event is add event.
|
||||||
|
Reference in New Issue
Block a user