From abdf79454fda70ffd8531e09920749555bc299f8 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Fri, 29 May 2020 13:34:56 +0200 Subject: [PATCH] Add missing address of api.StrategyParameters https://github.com/kubernetes-sigs/descheduler/pull/285 got merged before re-running the unit tests. --- pkg/descheduler/strategies/lownodeutilization_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/descheduler/strategies/lownodeutilization_test.go b/pkg/descheduler/strategies/lownodeutilization_test.go index f94d7629d..75b5b854c 100644 --- a/pkg/descheduler/strategies/lownodeutilization_test.go +++ b/pkg/descheduler/strategies/lownodeutilization_test.go @@ -418,7 +418,7 @@ func TestLowNodeUtilization(t *testing.T) { strategy := api.DeschedulerStrategy{ Enabled: true, - Params: api.StrategyParameters{ + Params: &api.StrategyParameters{ NodeResourceUtilizationThresholds: &api.NodeResourceUtilizationThresholds{ Thresholds: test.thresholds, TargetThresholds: test.targetThresholds,