correct the event msg of kill container

This commit is contained in:
Pingan2017 2018-11-21 10:59:21 +08:00
parent f8983a8988
commit 75d9a7bebd

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