Fix comments

Signed-off-by: David Gageot <david.gageot@docker.com>
This commit is contained in:
David Gageot 2022-10-07 20:47:08 +02:00
parent 1d0f49e785
commit 998ad7eea1
No known key found for this signature in database
GPG Key ID: 93C3F22BE5D3A40B

View File

@ -83,7 +83,7 @@ func (f *fileLog) Dump(n string) {
}
}
// Symlinks to the log directory. This is useful if we are logging directly to tmpfs and now need to symlink from a permanent disk.
// Symlink links to the log directory. This is useful if we are logging directly to tmpfs and now need to symlink from a permanent disk.
func (f *fileLog) Symlink(path string) {
parent := filepath.Dir(path)
if err := os.MkdirAll(parent, 0755); err != nil {
@ -175,7 +175,7 @@ func (r *remoteLog) Dump(n string) {
}
}
// Symlinks to the log directory. This is a no-op because there is no log directory.
// Symlink links to the log directory. This is a no-op because there is no log directory.
func (r *remoteLog) Symlink(path string) {
return
}