Commit 75d9a7be authored by Pingan2017's avatar Pingan2017

correct the event msg of kill container

parent f8983a89
...@@ -583,7 +583,7 @@ func (m *kubeGenericRuntimeManager) killContainer(pod *v1.Pod, containerID kubec ...@@ -583,7 +583,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