correct the event msg of kill container

pull/564/head
Pingan2017 2018-11-21 10:59:21 +08:00
parent f8983a8988
commit 75d9a7bebd
1 changed files with 1 additions and 1 deletions

View File

@ -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)
} }