diff --git a/cluster-autoscaler/core/static_autoscaler.go b/cluster-autoscaler/core/static_autoscaler.go index c5e67b72f166..e589883c7a38 100644 --- a/cluster-autoscaler/core/static_autoscaler.go +++ b/cluster-autoscaler/core/static_autoscaler.go @@ -346,7 +346,7 @@ func (a *StaticAutoscaler) RunOnce(currentTime time.Time) errors.AutoscalerError metrics.UpdateDurationFromStart(metrics.ScaleDown, scaleDownStart) if typedErr != nil { - glog.Errorf("Failed to scale down: %v", err) + glog.Errorf("Failed to scale down: %v", typedErr) a.lastScaleDownFailTime = currentTime return typedErr }