From c9bc62542892a4f568a60cd423807e078c4e3ac9 Mon Sep 17 00:00:00 2001 From: SataQiu Date: Sun, 30 Sep 2018 11:09:32 +0800 Subject: [PATCH] Remove the redundant space --- pkg/kubelet/kubelet_node_status_test.go | 2 +- .../examples/create-update-delete-deployment/README.md | 2 +- test/cmd/diff.sh | 2 +- test/conformance/cf_header.md | 2 +- test/e2e/apps/statefulset.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/kubelet/kubelet_node_status_test.go b/pkg/kubelet/kubelet_node_status_test.go index 6f09b047dca..d9514eaebdf 100644 --- a/pkg/kubelet/kubelet_node_status_test.go +++ b/pkg/kubelet/kubelet_node_status_test.go @@ -317,7 +317,7 @@ func TestUpdateNewNodeStatus(t *testing.T) { assert.NoError(t, err) for i, cond := range updatedNode.Status.Conditions { assert.False(t, cond.LastHeartbeatTime.IsZero(), "LastHeartbeatTime for %v condition is zero", cond.Type) - assert.False(t, cond.LastTransitionTime.IsZero(), "LastTransitionTime for %v condition is zero", cond.Type) + assert.False(t, cond.LastTransitionTime.IsZero(), "LastTransitionTime for %v condition is zero", cond.Type) updatedNode.Status.Conditions[i].LastHeartbeatTime = metav1.Time{} updatedNode.Status.Conditions[i].LastTransitionTime = metav1.Time{} } diff --git a/staging/src/k8s.io/client-go/examples/create-update-delete-deployment/README.md b/staging/src/k8s.io/client-go/examples/create-update-delete-deployment/README.md index 47d8dd1ee54..72cfc5d91db 100644 --- a/staging/src/k8s.io/client-go/examples/create-update-delete-deployment/README.md +++ b/staging/src/k8s.io/client-go/examples/create-update-delete-deployment/README.md @@ -49,7 +49,7 @@ Running this command will execute the following operations on your cluster: Each step is separated by an interactive prompt. You must hit the Return key to proceed to the next step. You can use these prompts as -a break to take time to run `kubectl` and inspect the result of the operations +a break to take time to run `kubectl` and inspect the result of the operations executed. You should see an output like the following: diff --git a/test/cmd/diff.sh b/test/cmd/diff.sh index d52a75bdfce..8bc3f863cc0 100755 --- a/test/cmd/diff.sh +++ b/test/cmd/diff.sh @@ -35,7 +35,7 @@ run_kubectl_diff_tests() { output_message=$(kubectl diff -f hack/testdata/pod-changed.yaml) kube::test::if_has_string "${output_message}" 'k8s.gcr.io/pause:3.0' - kubectl delete -f hack/testdata/pod.yaml + kubectl delete -f hack/testdata/pod.yaml set +o nounset set +o errexit diff --git a/test/conformance/cf_header.md b/test/conformance/cf_header.md index e4bef5c46e9..ce24ac47fb0 100644 --- a/test/conformance/cf_header.md +++ b/test/conformance/cf_header.md @@ -2,7 +2,7 @@ ## **Summary** This document provides a summary of the tests included in the Kubernetes conformance test suite. -Each test lists a set of formal requirements that a platform that meets conformance requirements must adhere to. +Each test lists a set of formal requirements that a platform that meets conformance requirements must adhere to. The tests are a subset of the "e2e" tests that make up the Kubernetes testing infrastructure. Each test is identified by the presence of the `[Conformance]` keyword in the ginkgo descriptive function calls. diff --git a/test/e2e/apps/statefulset.go b/test/e2e/apps/statefulset.go index cc5b58d974b..7a5a153ce01 100644 --- a/test/e2e/apps/statefulset.go +++ b/test/e2e/apps/statefulset.go @@ -983,7 +983,7 @@ func (m *mysqlGaleraTester) deploy(ns string) *apps.StatefulSet { func (m *mysqlGaleraTester) write(statefulPodIndex int, kv map[string]string) { name := fmt.Sprintf("%v-%d", m.ss.Name, statefulPodIndex) for k, v := range kv { - cmd := fmt.Sprintf("use statefulset; insert into foo (k, v) values (\"%v\", \"%v\");", k, v) + cmd := fmt.Sprintf("use statefulset; insert into foo (k, v) values (\"%v\", \"%v\");", k, v) framework.Logf(m.mysqlExec(cmd, m.ss.Namespace, name)) } }