Skip to content

Commit 0d8b4b5

Browse files
authored
Merge pull request kubernetes#85994 from coderanger/patch-1
Tiny typo in a comment.
2 parents f8176ab + 0ac25f5 commit 0d8b4b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/kuberuntime/kuberuntime_container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ func (m *kubeGenericRuntimeManager) startContainer(podSandboxID string, podSandb
212212
sandboxMeta.Namespace)
213213
containerLog := filepath.Join(podSandboxConfig.LogDirectory, containerConfig.LogPath)
214214
// only create legacy symlink if containerLog path exists (or the error is not IsNotExist).
215-
// Because if containerLog path does not exist, only dandling legacySymlink is created.
215+
// Because if containerLog path does not exist, only dangling legacySymlink is created.
216216
// This dangling legacySymlink is later removed by container gc, so it does not make sense
217217
// to create it in the first place. it happens when journald logging driver is used with docker.
218218
if _, err := m.osInterface.Stat(containerLog); !os.IsNotExist(err) {

0 commit comments

Comments
 (0)