mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #80519 from ethan-daocloud/patch-1
fix typos in kubelet.go
This commit is contained in:
commit
56b5f8b47c
@ -782,7 +782,7 @@ func NewMainKubelet(kubeCfg *kubeletconfiginternal.KubeletConfiguration,
|
|||||||
|
|
||||||
tokenManager := token.NewManager(kubeDeps.KubeClient)
|
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
|
// 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.
|
// ReadyState is accurate with the storage state.
|
||||||
klet.volumePluginMgr, err =
|
klet.volumePluginMgr, err =
|
||||||
@ -2278,7 +2278,7 @@ func (kl *Kubelet) fastStatusUpdateOnce() {
|
|||||||
|
|
||||||
// isSyncPodWorthy filters out events that are not worthy of pod syncing
|
// isSyncPodWorthy filters out events that are not worthy of pod syncing
|
||||||
func isSyncPodWorthy(event *pleg.PodLifecycleEvent) bool {
|
func isSyncPodWorthy(event *pleg.PodLifecycleEvent) bool {
|
||||||
// ContatnerRemoved doesn't affect pod state
|
// ContainerRemoved doesn't affect pod state
|
||||||
return event.Type != pleg.ContainerRemoved
|
return event.Type != pleg.ContainerRemoved
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user