From 75d9a7bebd048143cba786932b061f7e2a29b022 Mon Sep 17 00:00:00 2001 From: Pingan2017 Date: Wed, 21 Nov 2018 10:59:21 +0800 Subject: [PATCH] correct the event msg of kill container --- pkg/kubelet/kuberuntime/kuberuntime_container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/kuberuntime/kuberuntime_container.go b/pkg/kubelet/kuberuntime/kuberuntime_container.go index 9407a03c63a17..ce20c8c265f23 100644 --- a/pkg/kubelet/kuberuntime/kuberuntime_container.go +++ b/pkg/kubelet/kuberuntime/kuberuntime_container.go @@ -583,7 +583,7 @@ func (m *kubeGenericRuntimeManager) killContainer(pod *v1.Pod, containerID kubec klog.V(3).Infof("Container %q exited normally", containerID.String()) } - message := fmt.Sprintf("Killing container with id %s", containerID.String()) + message := fmt.Sprintf("Killing container %s", containerID.String()) if reason != "" { message = fmt.Sprint(message, ":", reason) }