From 8c53bfe1eaaf58dab8e7b7b8f5dff57e0850309e Mon Sep 17 00:00:00 2001 From: uzuku Date: Fri, 26 Feb 2021 21:33:31 +0800 Subject: [PATCH] Fix typo in comment for purgeInitContainers. --- pkg/kubelet/kuberuntime/kuberuntime_container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/kuberuntime/kuberuntime_container.go b/pkg/kubelet/kuberuntime/kuberuntime_container.go index cd615c962a4..0ec0925ad85 100644 --- a/pkg/kubelet/kuberuntime/kuberuntime_container.go +++ b/pkg/kubelet/kuberuntime/kuberuntime_container.go @@ -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 // before the call happens. func (m *kubeGenericRuntimeManager) purgeInitContainers(pod *v1.Pod, podStatus *kubecontainer.PodStatus) {