Unverified Commit 61ed586b authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #71297 from Pingan2017/event-kill-container

correct the event msg of kill container
parents cab34050 75d9a7be
...@@ -584,7 +584,7 @@ func (m *kubeGenericRuntimeManager) killContainer(pod *v1.Pod, containerID kubec ...@@ -584,7 +584,7 @@ func (m *kubeGenericRuntimeManager) killContainer(pod *v1.Pod, containerID kubec
klog.V(3).Infof("Container %q exited normally", containerID.String()) 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 != "" { if reason != "" {
message = fmt.Sprint(message, ":", reason) message = fmt.Sprint(message, ":", reason)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment