mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Merge pull request #121948 from sanposhiho/patch-8
fix(framework): remove the mention about what happens with nil from EventsToRegister
This commit is contained in:
commit
94f15bbbcb
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user