Merge pull request https://github.com/kubernetes/contrib/pull/1981 from craigwillis85/master

Automatic merge from submit-queue

Fixed a couple of typos in cluster-autoscaler

This pull request fixes a couple of typos/grammatical errors in the logging output of the cluster-autoscaler addon
This commit is contained in:
Kubernetes Submit Queue 2016-11-17 00:18:07 -08:00 committed by GitHub
commit be150fc1c5
2 changed files with 2 additions and 2 deletions

View File

@ -283,7 +283,7 @@ func run(_ <-chan struct{}) {
lastScaleUpTime, lastScaleDownFailedTrial, schedulablePodsPresent)
updateLastTime("findUnneeded")
glog.V(4).Infof("Calculating unneded nodes")
glog.V(4).Infof("Calculating unneeded nodes")
usageTracker.CleanUp(time.Now().Add(-(*scaleDownUnneededTime)))
unneededNodes, podLocationHints, nodeUtilizationMap = FindUnneededNodes(

View File

@ -78,7 +78,7 @@ func FindUnneededNodes(nodes []*kube_api.Node,
utilizationMap[node.Name] = utilization
if utilization >= utilizationThreshold {
glog.V(4).Infof("Node %s is not suitable for removal - utilization to big (%f)", node.Name, utilization)
glog.V(4).Infof("Node %s is not suitable for removal - utilization too big (%f)", node.Name, utilization)
continue
}
currentlyUnneededNodes = append(currentlyUnneededNodes, node)