From c1b94d27d923ce28f707710471b20cab7a9f8600 Mon Sep 17 00:00:00 2001 From: yxxhero Date: Tue, 14 Sep 2021 23:24:14 +0800 Subject: [PATCH] fix typo Signed-off-by: yxxhero --- pkg/kubelet/kuberuntime/helpers_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/kubelet/kuberuntime/helpers_test.go b/pkg/kubelet/kuberuntime/helpers_test.go index 596a258d362..ec67ca36b10 100644 --- a/pkg/kubelet/kuberuntime/helpers_test.go +++ b/pkg/kubelet/kuberuntime/helpers_test.go @@ -51,14 +51,14 @@ func TestIsInitContainerFailed(t *testing.T) { ExitCode: 1, }, isFailed: true, - description: "Init container which in exited state and non-zero exit code should return true", + description: "Init container in exited state and non-zero exit code should return true", }, { status: &kubecontainer.Status{ State: kubecontainer.ContainerStateUnknown, }, isFailed: true, - description: "Init container which in unknown state should return true", + description: "Init container in unknown state should return true", }, { status: &kubecontainer.Status{ @@ -74,21 +74,21 @@ func TestIsInitContainerFailed(t *testing.T) { ExitCode: 0, }, isFailed: false, - description: "Init container which in exited state and zero exit code should return false", + description: "Init container in exited state and zero exit code should return false", }, { status: &kubecontainer.Status{ State: kubecontainer.ContainerStateRunning, }, isFailed: false, - description: "Init container which in running state should return false", + description: "Init container in running state should return false", }, { status: &kubecontainer.Status{ State: kubecontainer.ContainerStateCreated, }, isFailed: false, - description: "Init container which in created state should return false", + description: "Init container in created state should return false", }, } for i, test := range tests {