mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 13:31:52 +00:00
fix(framework): remove the mention about what happens with nil from EventsToRegister
This commit is contained in:
parent
1f07da7575
commit
005e85c4d3
@ -371,8 +371,6 @@ type EnqueueExtensions interface {
|
|||||||
// Note: the returned list needs to be static (not depend on configuration parameters);
|
// Note: the returned list needs to be static (not depend on configuration parameters);
|
||||||
// otherwise it would lead to undefined behavior.
|
// 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.
|
// Appropriate implementation of this function will make Pod's re-scheduling accurate and performant.
|
||||||
EventsToRegister() []ClusterEventWithHint
|
EventsToRegister() []ClusterEventWithHint
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user