mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Merge pull request #91956 from kinvolk/rata/fix-kubelet-log-on-kill
kubelet: Fix log typo when killing a container
This commit is contained in:
commit
9a3276548b
@ -629,10 +629,10 @@ func (m *kubeGenericRuntimeManager) killContainer(pod *v1.Pod, containerID kubec
|
||||
}
|
||||
if gracePeriodOverride != nil {
|
||||
gracePeriod = *gracePeriodOverride
|
||||
klog.V(3).Infof("Killing container %q, but using %d second grace period override", containerID, gracePeriod)
|
||||
klog.V(3).Infof("Killing container %q, but using a %d second grace period override", containerID, gracePeriod)
|
||||
}
|
||||
|
||||
klog.V(2).Infof("Killing container %q with %d second grace period", containerID.String(), gracePeriod)
|
||||
klog.V(2).Infof("Killing container %q with a %d second grace period", containerID.String(), gracePeriod)
|
||||
|
||||
err := m.runtimeService.StopContainer(containerID.ID, gracePeriod)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user