瀏覽代碼

Merge pull request #29439 from lixiaobing10051267/masterWalk

rectify function and variable referred in pkg/archive/changes_linux.go
Aaron Lehmann 8 年之前
父節點
當前提交
545b97e6bc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pkg/archive/changes_linux.go

+ 1 - 1
pkg/archive/changes_linux.go

@@ -65,7 +65,7 @@ func walkchunk(path string, fi os.FileInfo, dir string, root *FileInfo) error {
 	}
 	}
 	parent := root.LookUp(filepath.Dir(path))
 	parent := root.LookUp(filepath.Dir(path))
 	if parent == nil {
 	if parent == nil {
-		return fmt.Errorf("collectFileInfoForChanges: Unexpectedly no parent for %s", path)
+		return fmt.Errorf("walkchunk: Unexpectedly no parent for %s", path)
 	}
 	}
 	info := &FileInfo{
 	info := &FileInfo{
 		name:     filepath.Base(path),
 		name:     filepath.Base(path),