mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
correct the event msg of kill container
This commit is contained in:
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())
|
||||
}
|
||||
|
||||
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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user