Remove error messages which are not actually errors

Upstream-commit: cbc49d7d76dfc9e259d5227a0077a83e5faf1202
Component: engine
This commit is contained in:
Solomon Hykes
2013-10-15 23:12:27 +00:00
parent c2ea620041
commit 8c6c389ec3
+1 -1
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
} 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 err := os.MkdirAll(path.Dir(destPath), 0755); err != nil {
return err