Updating symlink log message

The symlink message did not tell anyone what Helm does with the contents
of the linked file. These are used in 2 places:
1. When loading a chart as a directory
2. When creating a chart archive (the linked files contents are
   included)

Signed-off-by: Matt Farina <matt.farina@suse.com>
Signed-off-by: Gong Yongjie <yong-jie.gong@microfocus.com>
pull/10914/head
Matt Farina 3 years ago committed by Gong Yongjie
parent 9233655ffe
commit 46d68534bb

@ -71,7 +71,7 @@ func symwalk(path string, info os.FileInfo, walkFn filepath.WalkFunc) error {
if err != nil {
return errors.Wrapf(err, "error evaluating symlink %s", path)
}
log.Printf("found symbolic link in path: %s resolves to %s", path, resolved)
log.Printf("found symbolic link in path: %s resolves to %s. Contents of linked file included and used", path, resolved)
if info, err = os.Lstat(resolved); err != nil {
return err
}

Loading…
Cancel
Save