From 5d1a42bbbce964564b124076efa517e2ef5c90b1 Mon Sep 17 00:00:00 2001 From: ethan Date: Wed, 24 Jul 2019 21:16:23 +0800 Subject: [PATCH] fix typos in kubelet.go --- pkg/kubelet/kubelet.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kubelet/kubelet.go b/pkg/kubelet/kubelet.go index ccc924efd78..87529e6ccbd 100644 --- a/pkg/kubelet/kubelet.go +++ b/pkg/kubelet/kubelet.go @@ -782,7 +782,7 @@ func NewMainKubelet(kubeCfg *kubeletconfiginternal.KubeletConfiguration, tokenManager := token.NewManager(kubeDeps.KubeClient) - // NewInitializedVolumePluginMgr intializes some storageErrors on the Kubelet runtimeState (in csi_plugin.go init) + // NewInitializedVolumePluginMgr initializes some storageErrors on the Kubelet runtimeState (in csi_plugin.go init) // which affects node ready status. This function must be called before Kubelet is initialized so that the Node // ReadyState is accurate with the storage state. klet.volumePluginMgr, err = @@ -2276,7 +2276,7 @@ func (kl *Kubelet) fastStatusUpdateOnce() { // isSyncPodWorthy filters out events that are not worthy of pod syncing func isSyncPodWorthy(event *pleg.PodLifecycleEvent) bool { - // ContatnerRemoved doesn't affect pod state + // ContainerRemoved doesn't affect pod state return event.Type != pleg.ContainerRemoved }