mirror of https://github.com/docker/docs.git
- Registry: Fix the checksums file path
This commit is contained in:
parent
d270501de2
commit
052a15ace9
|
@ -316,7 +316,7 @@ func (graph *Graph) PullRepository(stdout io.Writer, remote, askedTag string, re
|
||||||
err = func() error {
|
err = func() error {
|
||||||
localChecksums := make(map[string]string)
|
localChecksums := make(map[string]string)
|
||||||
remoteChecksums := []ImgListJson{}
|
remoteChecksums := []ImgListJson{}
|
||||||
checksumDictPth := path.Join(graph.Root, "..", "checksums")
|
checksumDictPth := path.Join(graph.Root, "checksums")
|
||||||
|
|
||||||
if err := json.Unmarshal(checksumsJson, &remoteChecksums); err != nil {
|
if err := json.Unmarshal(checksumsJson, &remoteChecksums); err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue