From 005e85c4d3ec9618873f429898d5691764f5ad27 Mon Sep 17 00:00:00 2001 From: Kensei Nakada Date: Sat, 18 Nov 2023 15:47:31 +0900 Subject: [PATCH] fix(framework): remove the mention about what happens with nil from EventsToRegister --- pkg/scheduler/framework/interface.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/scheduler/framework/interface.go b/pkg/scheduler/framework/interface.go index 10017d91db8..d8f0f7d0e22 100644 --- a/pkg/scheduler/framework/interface.go +++ b/pkg/scheduler/framework/interface.go @@ -371,8 +371,6 @@ type EnqueueExtensions interface { // Note: the returned list needs to be static (not depend on configuration parameters); // otherwise it would lead to undefined behavior. // - // The returned events could be nil to indicate that no events other than the pod's own update - // can make the pod re-schedulable. An example is SchedulingGates plugin. // Appropriate implementation of this function will make Pod's re-scheduling accurate and performant. EventsToRegister() []ClusterEventWithHint }