Merge pull request #264 from mwielgus/node-on-bench

Dont block scale downs if no nodes can be removed
This commit is contained in:
Marcin Wielgus 2017-08-28 15:46:11 +05:30 committed by GitHub
commit a27e007dff
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ func (a *StaticAutoscaler) RunOnce(currentTime time.Time) errors.AutoscalerError
glog.Errorf("Failed to scale down: %v", err)
return typedErr
}
if result == ScaleDownError || result == ScaleDownNoNodeDeleted {
if result == ScaleDownError {
a.lastScaleDownFailedTrial = time.Now()
}
}