mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 11:18:16 +00:00
Correct event registration for multiple scheduler plugins.
This commit is contained in:
@@ -83,7 +83,7 @@ func (s *preFilterState) Clone() framework.StateData {
|
||||
// failed by this plugin schedulable.
|
||||
func (pl *NodeAffinity) EventsToRegister() []framework.ClusterEvent {
|
||||
return []framework.ClusterEvent{
|
||||
{Resource: framework.Node, ActionType: framework.Add | framework.UpdateNodeLabel},
|
||||
{Resource: framework.Node, ActionType: framework.Add | framework.Update},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user