From 09c7d1be0aa773eb4151fcbbef51b99c8a782149 Mon Sep 17 00:00:00 2001 From: lixiang Date: Sat, 6 Mar 2021 16:21:46 +0800 Subject: [PATCH] Correct log in topology spread strategy --- pkg/descheduler/strategies/topologyspreadconstraint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/descheduler/strategies/topologyspreadconstraint.go b/pkg/descheduler/strategies/topologyspreadconstraint.go index fd8dd520f..52147425a 100644 --- a/pkg/descheduler/strategies/topologyspreadconstraint.go +++ b/pkg/descheduler/strategies/topologyspreadconstraint.go @@ -78,7 +78,7 @@ func RemovePodsViolatingTopologySpreadConstraint( ) { thresholdPriority, includedNamespaces, excludedNamespaces, err := validateAndParseTopologySpreadParams(ctx, client, strategy.Params) if err != nil { - klog.ErrorS(err, "Invalid PodLifeTime parameters") + klog.ErrorS(err, "Invalid RemovePodsViolatingTopologySpreadConstraint parameters") return }