1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Remove error messages which are not actually errors

This commit is contained in:
Solomon Hykes 2013-10-15 23:12:27 +00:00
parent fde157425c
commit cbc49d7d76

View file

@ -296,7 +296,7 @@ func (b *buildFile) addContext(container *Container, orig, dest string) error {
} }
// First try to unpack the source as an archive // First try to unpack the source as an archive
} else if err := UntarPath(origPath, destPath); err != nil { } else if err := UntarPath(origPath, destPath); err != nil {
utils.Errorf("Couldn't untar %s to %s: %s", origPath, destPath, err) utils.Debugf("Couldn't untar %s to %s: %s", origPath, destPath, err)
// If that fails, just copy it as a regular file // If that fails, just copy it as a regular file
if err := os.MkdirAll(path.Dir(destPath), 0755); err != nil { if err := os.MkdirAll(path.Dir(destPath), 0755); err != nil {
return err return err