From 0ac25f51fc7fc4bb95d9d88e14de3ffbefba6559 Mon Sep 17 00:00:00 2001 From: Noah Kantrowitz Date: Fri, 6 Dec 2019 01:32:09 -0800 Subject: [PATCH] Tiny typo in a comment. --- 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 20a35899f28..d25e7443f62 100644 --- a/pkg/kubelet/kuberuntime/kuberuntime_container.go +++ b/pkg/kubelet/kuberuntime/kuberuntime_container.go @@ -164,7 +164,7 @@ func (m *kubeGenericRuntimeManager) startContainer(podSandboxID string, podSandb sandboxMeta.Namespace) containerLog := filepath.Join(podSandboxConfig.LogDirectory, containerConfig.LogPath) // only create legacy symlink if containerLog path exists (or the error is not IsNotExist). - // Because if containerLog path does not exist, only dandling legacySymlink is created. + // Because if containerLog path does not exist, only dangling legacySymlink is created. // This dangling legacySymlink is later removed by container gc, so it does not make sense // to create it in the first place. it happens when journald logging driver is used with docker. if _, err := m.osInterface.Stat(containerLog); !os.IsNotExist(err) {