mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 06:32:32 +00:00
fix the typo of wtih
This commit is contained in:
@@ -225,7 +225,7 @@ func CalculateUsage(namespaceName string, scopes []api.ResourceQuotaScope, hardL
|
|||||||
for _, evaluator := range evaluators {
|
for _, evaluator := range evaluators {
|
||||||
potentialResources = append(potentialResources, evaluator.MatchingResources(hardResources)...)
|
potentialResources = append(potentialResources, evaluator.MatchingResources(hardResources)...)
|
||||||
}
|
}
|
||||||
// NOTE: the intersection just removes duplicates since the evaluator match intersects wtih hard
|
// NOTE: the intersection just removes duplicates since the evaluator match intersects with hard
|
||||||
matchedResources := Intersection(hardResources, potentialResources)
|
matchedResources := Intersection(hardResources, potentialResources)
|
||||||
|
|
||||||
// sum the observed usage from each evaluator
|
// sum the observed usage from each evaluator
|
||||||
|
Reference in New Issue
Block a user