浏览代码

Remove error messages which are not actually errors

Solomon Hykes 11 年之前
父节点
当前提交
cbc49d7d76
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      buildfile.go

+ 1 - 1
buildfile.go

@@ -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