From 2f448a078973df7adb4e7fe8ffd60a0ec2eabc35 Mon Sep 17 00:00:00 2001 From: yxxhero Date: Fri, 3 Sep 2021 22:07:46 +0800 Subject: [PATCH] fix oomkilled description Signed-off-by: yxxhero --- pkg/kubelet/kuberuntime/helpers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/kuberuntime/helpers_test.go b/pkg/kubelet/kuberuntime/helpers_test.go index 9f6d379f6a0..7344460640c 100644 --- a/pkg/kubelet/kuberuntime/helpers_test.go +++ b/pkg/kubelet/kuberuntime/helpers_test.go @@ -66,7 +66,7 @@ func TestIsInitContainerFailed(t *testing.T) { ExitCode: 0, }, isFailed: true, - description: "Init container which state is exited and exitcode is zero shoud return true", + description: "Init container which reason is OOMKilled shoud return true", }, { status: &kubecontainer.Status{