mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 01:59:07 +00:00
Fix comments
Signed-off-by: David Gageot <david.gageot@docker.com>
This commit is contained in:
parent
1d0f49e785
commit
998ad7eea1
@ -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) {
|
func (f *fileLog) Symlink(path string) {
|
||||||
parent := filepath.Dir(path)
|
parent := filepath.Dir(path)
|
||||||
if err := os.MkdirAll(parent, 0755); err != nil {
|
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) {
|
func (r *remoteLog) Symlink(path string) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user