From d53762ec3a5490b5a0e9af2860bbfd0aeed4d025 Mon Sep 17 00:00:00 2001 From: Shingo Omura Date: Thu, 29 Jun 2023 21:19:00 +0900 Subject: [PATCH] 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 --- pkg/scheduler/framework/types.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/scheduler/framework/types.go b/pkg/scheduler/framework/types.go index 2d95fd1d54e..acfd16f120c 100644 --- a/pkg/scheduler/framework/types.go +++ b/pkg/scheduler/framework/types.go @@ -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.