fix(framework): remove the mention about what happens with nil from EventsToRegister

This commit is contained in:
Kensei Nakada
2023-11-18 15:47:31 +09:00
committed by GitHub
parent 1f07da7575
commit 005e85c4d3

View File

@@ -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
}