mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue optimize conditions of ServiceReplenishmentUpdateFunc to replenish service Originally, the replenishQuota method didn't focus on the third parameter object even if others transfered to it, i think the function is not efficient and perfect. then i use the third param to get MatchResources, it will be more exact. for example, if the old pod was quota tracked and the new was not, the replenishQuota only focus on usage resource of the old pod, still if the third parameter object is nil, the process will be same as before |
||
---|---|---|
.. | ||
evaluator/core | ||
generic | ||
install | ||
OWNERS | ||
interfaces.go | ||
resources.go | ||
resources_test.go |