Skip to content

Commit

Permalink
Merge pull request #1768 from uruddarraju/errbug
Browse files Browse the repository at this point in the history
Fixing minor error handling bug in static autoscaler
  • Loading branch information
k8s-ci-robot authored Mar 8, 2019
2 parents 7855ae5 + 91b7bc0 commit 2694b01
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 @@ -154,7 +154,7 @@ func (a *StaticAutoscaler) RunOnce(currentTime time.Time) errors.AutoscalerError

nodeInfosForGroups, autoscalerError := getNodeInfosForGroups(
readyNodes, a.nodeInfoCache, autoscalingContext.CloudProvider, autoscalingContext.ListerRegistry, daemonsets, autoscalingContext.PredicateChecker)
if err != nil {
if autoscalerError != nil {
return autoscalerError.AddPrefix("failed to build node infos for node groups: ")
}

Expand Down

0 comments on commit 2694b01

Please sign in to comment.