Remove confusing message about symlinks (#381)
This commit is contained in:
parent
729adec5e5
commit
3d9b82515c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue