瀏覽代碼

- Registry: Fix the checksums file path

Guillaume J. Charmes 12 年之前
父節點
當前提交
052a15ace9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      registry.go

+ 1 - 1
registry.go

@@ -316,7 +316,7 @@ func (graph *Graph) PullRepository(stdout io.Writer, remote, askedTag string, re
 	err = func() error {
 		localChecksums := make(map[string]string)
 		remoteChecksums := []ImgListJson{}
-		checksumDictPth := path.Join(graph.Root, "..", "checksums")
+		checksumDictPth := path.Join(graph.Root, "checksums")
 
 		if err := json.Unmarshal(checksumsJson, &remoteChecksums); err != nil {
 			return err