remove the repeat word in documents

This commit is contained in:
tanjunchen
2019-10-04 15:32:48 +08:00
parent 3c0bc3c5ad
commit de3cf23414
19 changed files with 20 additions and 20 deletions

View File

@@ -284,7 +284,7 @@ func (a *HorizontalController) computeReplicasForMetrics(hpa *autoscalingv2.Hori
return replicas, metric, statuses, timestamp, nil
}
// Computes the desired number of replicas for for a specific hpa and metric specification,
// Computes the desired number of replicas for a specific hpa and metric specification,
// returning the metric status and a proposed condition to be set on the HPA object.
func (a *HorizontalController) computeReplicasForMetric(hpa *autoscalingv2.HorizontalPodAutoscaler, spec autoscalingv2.MetricSpec,
specReplicas, statusReplicas int32, selector labels.Selector, status *autoscalingv2.MetricStatus) (replicaCountProposal int32, metricNameProposal string,