Fix typos: reqest->request, approporiate->appropriate

Signed-off-by: mooncake <xcoder@tenxcloud.com>
This commit is contained in:
mooncake 2018-11-10 20:29:34 +08:00
parent 6f84848485
commit 812549592b
3 changed files with 3 additions and 3 deletions

View File

@ -165,7 +165,7 @@ func (m autoScalingWrapper) getScalingInstancesByGroup(asgId string) ([]ess.Scal
params.ScalingGroupId = asgId
resp, err := m.DescribeScalingInstances(params)
if err != nil {
glog.Errorf("falied to reqest scaling instances for %s,Because of %s", asgId, err.Error())
glog.Errorf("falied to request scaling instances for %s,Because of %s", asgId, err.Error())
return nil, err
}
return resp.ScalingInstances.ScalingInstance, nil

View File

@ -83,7 +83,7 @@ func TestClearTPURequests(t *testing.T) {
expected: podsWithoutTPUs,
},
{
desc: "Pods with & without TPU reqest",
desc: "Pods with & without TPU request",
pods: mixedPods,
expected: sanitizedMixedPods,
},

View File

@ -120,7 +120,7 @@ func getCappedRecommendationForContainer(
}
// capRecommendationToContainerLimit makes sure recommendation is not above current limit for the container.
// If this function makes adjustments approporiate annotations are returned.
// If this function makes adjustments appropriate annotations are returned.
func capRecommendationToContainerLimit(recommendation apiv1.ResourceList, container apiv1.Container) []string {
annotations := make([]string, 0)
// Iterate over limits set in the container. Unset means Infinite limit.