Fix typo in comment for purgeInitContainers.

This commit is contained in:
uzuku 2021-02-26 21:33:31 +08:00
parent bce5d7a015
commit 8c53bfe1ea

View File

@ -718,7 +718,7 @@ func (m *kubeGenericRuntimeManager) pruneInitContainersBeforeStart(pod *v1.Pod,
} }
} }
// Remove all init containres. Note that this function does not check the state // Remove all init containers. Note that this function does not check the state
// of the container because it assumes all init containers have been stopped // of the container because it assumes all init containers have been stopped
// before the call happens. // before the call happens.
func (m *kubeGenericRuntimeManager) purgeInitContainers(pod *v1.Pod, podStatus *kubecontainer.PodStatus) { func (m *kubeGenericRuntimeManager) purgeInitContainers(pod *v1.Pod, podStatus *kubecontainer.PodStatus) {