From 31cf70c34c4ac47c7b08d9727742d0c078dfeb7c Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Wed, 21 Oct 2020 08:43:25 +0200 Subject: [PATCH] pkg/descheduler/strategies: fix typo Signed-off-by: Mateusz Gozdek --- pkg/descheduler/strategies/lownodeutilization.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/descheduler/strategies/lownodeutilization.go b/pkg/descheduler/strategies/lownodeutilization.go index 8e29ff972..4505112b7 100644 --- a/pkg/descheduler/strategies/lownodeutilization.go +++ b/pkg/descheduler/strategies/lownodeutilization.go @@ -219,7 +219,7 @@ func getNodeUsage( node: node, usage: nodeUtilization(node, pods), allPods: pods, - // A treshold is in percentages but in <0;100> interval. + // A threshold is in percentages but in <0;100> interval. // Performing `threshold * 0.01` will convert <0;100> interval into <0;1>. // Multiplying it with capacity will give fraction of the capacity corresponding to the given high/low resource threshold in Quantity units. lowResourceThreshold: map[v1.ResourceName]*resource.Quantity{