From e3b25ed4af974a86b14dfd58b9369cc0bd583a9b Mon Sep 17 00:00:00 2001 From: timchenxiaoyu <837829664@qq.com> Date: Mon, 27 Feb 2017 09:28:40 +0800 Subject: [PATCH 1/2] fix typo:evaluator --- pkg/quota/evaluator/core/persistent_volume_claims.go | 2 +- pkg/quota/evaluator/core/pods.go | 2 +- pkg/quota/evaluator/core/services.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/quota/evaluator/core/persistent_volume_claims.go b/pkg/quota/evaluator/core/persistent_volume_claims.go index a55be74ab1b..0cae054d8d0 100644 --- a/pkg/quota/evaluator/core/persistent_volume_claims.go +++ b/pkg/quota/evaluator/core/persistent_volume_claims.go @@ -139,7 +139,7 @@ func (p *pvcEvaluator) GroupKind() schema.GroupKind { return api.Kind("PersistentVolumeClaim") } -// Handles returns true if the evalutor should handle the specified operation. +// Handles returns true if the evaluator should handle the specified operation. func (p *pvcEvaluator) Handles(operation admission.Operation) bool { return admission.Create == operation } diff --git a/pkg/quota/evaluator/core/pods.go b/pkg/quota/evaluator/core/pods.go index 4f105fea9ab..403238f0265 100644 --- a/pkg/quota/evaluator/core/pods.go +++ b/pkg/quota/evaluator/core/pods.go @@ -130,7 +130,7 @@ func (p *podEvaluator) GroupKind() schema.GroupKind { return api.Kind("Pod") } -// Handles returns true of the evalutor should handle the specified operation. +// Handles returns true of the evaluator should handle the specified operation. func (p *podEvaluator) Handles(operation admission.Operation) bool { // TODO: update this if/when pods support resizing resource requirements. return admission.Create == operation diff --git a/pkg/quota/evaluator/core/services.go b/pkg/quota/evaluator/core/services.go index e6c543db0db..78c03a90644 100644 --- a/pkg/quota/evaluator/core/services.go +++ b/pkg/quota/evaluator/core/services.go @@ -92,7 +92,7 @@ func (p *serviceEvaluator) GroupKind() schema.GroupKind { return api.Kind("Service") } -// Handles returns true of the evalutor should handle the specified operation. +// Handles returns true of the evaluator should handle the specified operation. func (p *serviceEvaluator) Handles(operation admission.Operation) bool { // We handle create and update because a service type can change. return admission.Create == operation || admission.Update == operation From fb213582e63dbbd1159c67b6fe391fe670b257a2 Mon Sep 17 00:00:00 2001 From: timchenxiaoyu <837829664@qq.com> Date: Mon, 27 Feb 2017 11:52:01 +0800 Subject: [PATCH 2/2] fix typo retries --- test/e2e_node/conformance/run_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e_node/conformance/run_test.sh b/test/e2e_node/conformance/run_test.sh index 646200cf446..feb0b9e5934 100755 --- a/test/e2e_node/conformance/run_test.sh +++ b/test/e2e_node/conformance/run_test.sh @@ -84,7 +84,7 @@ start_kubelet() { fi } -# wait_kubelet retris for 10 times for kubelet to be ready by checking http://127.0.0.1:10255/healthz. +# wait_kubelet retries for 10 times for kubelet to be ready by checking http://127.0.0.1:10255/healthz. wait_kubelet() { echo "Health checking kubelet..." healthCheckURL=http://127.0.0.1:10255/healthz