• Mike Spreitzer's avatar
    Remove optimization from getWork in resourcequota/controller.go · 45de8892
    Mike Spreitzer authored
    This change simplifies the code in
    plugin/pkg/admission/resourcequota/controller.go by removing the
    optimization in getWork that required the caller to NOT call
    completeWork if getWork returns the empty list of work.  BTW, the
    caller was not obeying that requirement; now the caller's behavior
    (which is unchanged) is right.
    
    Fixes #63608
    45de8892
Name
Last commit
Last update
..
admit Loading commit data...
alwayspullimages Loading commit data...
antiaffinity Loading commit data...
defaulttolerationseconds Loading commit data...
deny Loading commit data...
eventratelimit Loading commit data...
exec Loading commit data...
extendedresourcetoleration Loading commit data...
gc Loading commit data...
imagepolicy Loading commit data...
initialresources Loading commit data...
limitranger Loading commit data...
namespace Loading commit data...
noderestriction Loading commit data...
persistentvolume Loading commit data...
podnodeselector Loading commit data...
podpreset Loading commit data...
podtolerationrestriction Loading commit data...
priority Loading commit data...
resourcequota Loading commit data...
security Loading commit data...
securitycontext/scdeny Loading commit data...
serviceaccount Loading commit data...
storage Loading commit data...
OWNERS Loading commit data...