• k8s-merge-robot's avatar
    Merge pull request #25934 from ping035627/ping035627-patch-3 · 4e6e4ee1
    k8s-merge-robot authored
    Automatic merge from submit-queue
    
    Fix  #25606: Add the length detection of the "predicateFuncs" in generic_scheduler.go
    
    Fix  #25606
    
    The PR add the length detection of the "predicateFuncs" for "findNodesThatFit" function of generic_scheduler.go. 
    In “findNodesThatFit” function, if the length of the "predicateFuncs" parameter is 0, it can set filtered equals nodes.Items, and needn't to traverse the nodes.Items.
    4e6e4ee1
Name
Last commit
Last update
..
cmd/kube-scheduler Loading commit data...
pkg Loading commit data...
OWNERS Loading commit data...