mirror of https://github.com/k3s-io/k3s
correct the event msg of kill container
parent
f8983a8988
commit
75d9a7bebd
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue