• 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
..
algorithm Loading commit data...
algorithmprovider Loading commit data...
api Loading commit data...
factory Loading commit data...
metrics Loading commit data...
schedulercache Loading commit data...
testing Loading commit data...
OWNERS Loading commit data...
extender.go Loading commit data...
extender_test.go Loading commit data...
generic_scheduler.go Loading commit data...
generic_scheduler_test.go Loading commit data...
scheduler.go Loading commit data...
scheduler_test.go Loading commit data...