fix typos: remove duplicated word in comments

This commit is contained in:
supereagle
2017-06-17 17:17:22 +08:00
parent 0f7aa6727c
commit 87c29a08e1
20 changed files with 21 additions and 21 deletions

View File

@@ -21,7 +21,7 @@ import (
)
// GetResourceUtilizationRatio takes in a set of metrics, a set of matching requests,
// and a target utilization percentage, and calculates the the ratio of
// and a target utilization percentage, and calculates the ratio of
// desired to actual utilization (returning that, the actual utilization, and the raw average value)
func GetResourceUtilizationRatio(metrics PodMetricsInfo, requests map[string]int64, targetUtilization int32) (utilizationRatio float64, currentUtilization int32, rawAverageValue int64, err error) {
metricsTotal := int64(0)