From 5834c9337a62090155e55361590eaa0c614dc89a Mon Sep 17 00:00:00 2001 From: Pingan2017 Date: Tue, 8 Aug 2017 20:20:37 +0800 Subject: [PATCH] fix the typo of wtih --- pkg/quota/resources.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/quota/resources.go b/pkg/quota/resources.go index aaf56b72a60..8c3d3d30231 100644 --- a/pkg/quota/resources.go +++ b/pkg/quota/resources.go @@ -225,7 +225,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