Skip to content

Commit 005e85c

Browse files
authored
fix(framework): remove the mention about what happens with nil from EventsToRegister
1 parent 1f07da7 commit 005e85c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/scheduler/framework/interface.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,6 @@ type EnqueueExtensions interface {
371371
// Note: the returned list needs to be static (not depend on configuration parameters);
372372
// otherwise it would lead to undefined behavior.
373373
//
374-
// The returned events could be nil to indicate that no events other than the pod's own update
375-
// can make the pod re-schedulable. An example is SchedulingGates plugin.
376374
// Appropriate implementation of this function will make Pod's re-scheduling accurate and performant.
377375
EventsToRegister() []ClusterEventWithHint
378376
}

0 commit comments

Comments
 (0)