1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

logger: Align with the previous logger verbosity

This commit is contained in:
Jan Chaloupka
2025-06-25 09:27:57 +02:00
parent ace001c618
commit 89eab59d82
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ func New(ctx context.Context, args runtime.Object, handle frameworktypes.Handle)
podFilter = podutil.WrapFilterFuncs(podFilter, func(pod *v1.Pod) bool {
if err := validateCanEvict(pod, tooManyRestartsArgs); err != nil {
logger.Error(fmt.Errorf("ignoring pod for eviction due to: %s", err.Error()), "pod", klog.KObj(pod))
logger.V(4).Info(fmt.Sprintf("ignoring pod for eviction due to: %s", err.Error()), "pod", klog.KObj(pod))
return false
}
return true