Skip to content

Commit

Permalink
Merge pull request #1637 from aleksandra-malinowska/cherry-pick-scale…
Browse files Browse the repository at this point in the history
…-down-err-log-1.3

Cherry-pick of #1474: Fix logged error in static autoscaler
  • Loading branch information
k8s-ci-robot authored Feb 1, 2019
2 parents 1dcf846 + e106012 commit d35ab7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-autoscaler/core/static_autoscaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit d35ab7f

Please sign in to comment.