Merge pull request #83495 from tanjunchen/fix-typo

remove the repeat word in documents
This commit is contained in:
Kubernetes Prow Robot
2019-10-06 15:05:08 -07:00
committed by GitHub
19 changed files with 20 additions and 20 deletions

View File

@@ -253,7 +253,7 @@ func (r *reconciler) reconcileByPortMapping(
// 3. If there are still desired endpoints left at this point, we try to fit
// the endpoints in a single existing slice. If there are no slices with
// that capacity, we create new slices for the the endpoints.
// that capacity, we create new slices for the endpoints.
slicesToCreate := []*discovery.EndpointSlice{}
for desiredSet.Len() > 0 {

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,