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:
Kubernetes Prow Robot 2023-11-18 18:42:11 +01:00 committed by GitHub
commit 94f15bbbcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}