From de56fc4312ca63545d40745ed63671eeb6275d5d Mon Sep 17 00:00:00 2001 From: Yaroslava Serdiuk Date: Tue, 12 Apr 2022 06:08:35 +0000 Subject: [PATCH] Continue CA loop when unregistered nodes were removed --- cluster-autoscaler/core/static_autoscaler.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cluster-autoscaler/core/static_autoscaler.go b/cluster-autoscaler/core/static_autoscaler.go index dd3f04e5f5bb..c06088f6711d 100644 --- a/cluster-autoscaler/core/static_autoscaler.go +++ b/cluster-autoscaler/core/static_autoscaler.go @@ -346,8 +346,7 @@ func (a *StaticAutoscaler) RunOnce(currentTime time.Time) errors.AutoscalerError klog.Warningf("Failed to remove unregistered nodes: %v", err) } if removedAny { - klog.V(0).Infof("Some unregistered nodes were removed, skipping iteration") - return nil + klog.V(0).Infof("Some unregistered nodes were removed") } }