From 3d9b82515c534467144b0fc44296d0233c2bc2b7 Mon Sep 17 00:00:00 2001 From: Lyle Underwood Date: Tue, 6 Oct 2020 10:02:37 -0700 Subject: [PATCH] Remove confusing message about symlinks (#381) --- pkg/container/docker_run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/container/docker_run.go b/pkg/container/docker_run.go index 3c6fcff..b042735 100644 --- a/pkg/container/docker_run.go +++ b/pkg/container/docker_run.go @@ -418,7 +418,7 @@ func (cr *containerReference) copyDir(dstPath string, srcPath string) common.Exe // copy file data into tar writer if _, err := io.Copy(tw, f); err != nil { if fi.Mode()&os.ModeSymlink == os.ModeSymlink { - logger.Warnf("Unable to copy link %s --> %s", fi.Name(), linkName) + // symlinks don't need to be copied, ignore this error err = nil } return err