• 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
..
admission Loading commit data...
auth Loading commit data...
client/auth Loading commit data...
scheduler Loading commit data...
webhook Loading commit data...