From 998ad7eea15d2778a7b0d05d5f420cf26c377bac Mon Sep 17 00:00:00 2001 From: David Gageot Date: Fri, 7 Oct 2022 20:47:08 +0200 Subject: [PATCH] Fix comments Signed-off-by: David Gageot --- pkg/init/cmd/service/logging.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/init/cmd/service/logging.go b/pkg/init/cmd/service/logging.go index ad6c0bd12..7f34dabff 100644 --- a/pkg/init/cmd/service/logging.go +++ b/pkg/init/cmd/service/logging.go @@ -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 }