Skip to content

Commit 0ac25f5

Browse files
authored
Tiny typo in a comment.
1 parent 93c9085 commit 0ac25f5

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
@@ -164,7 +164,7 @@ func (m *kubeGenericRuntimeManager) startContainer(podSandboxID string, podSandb
164164
sandboxMeta.Namespace)
165165
containerLog := filepath.Join(podSandboxConfig.LogDirectory, containerConfig.LogPath)
166166
// only create legacy symlink if containerLog path exists (or the error is not IsNotExist).
167-
// Because if containerLog path does not exist, only dandling legacySymlink is created.
167+
// Because if containerLog path does not exist, only dangling legacySymlink is created.
168168
// This dangling legacySymlink is later removed by container gc, so it does not make sense
169169
// to create it in the first place. it happens when journald logging driver is used with docker.
170170
if _, err := m.osInterface.Stat(containerLog); !os.IsNotExist(err) {

0 commit comments

Comments
 (0)