diff --git a/pkg/quota/resources.go b/pkg/quota/resources.go index 924ee41b946..a7642806a19 100644 --- a/pkg/quota/resources.go +++ b/pkg/quota/resources.go @@ -263,7 +263,7 @@ func CalculateUsage(namespaceName string, scopes []api.ResourceQuotaScope, hardL for _, evaluator := range evaluators { 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) // sum the observed usage from each evaluator