Fix typos: reqest->request, approporiate->appropriate
Signed-off-by: mooncake <xcoder@tenxcloud.com>
This commit is contained in:
parent
6f84848485
commit
812549592b
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue