Skip to content

Commit

Permalink
Continue CA loop when unregistered nodes were removed
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslava-serdiuk committed Apr 12, 2022
1 parent 994fbac commit de56fc4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cluster-autoscaler/core/static_autoscaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}

Expand Down

0 comments on commit de56fc4

Please sign in to comment.