mirror of https://github.com/containers/podman.git
BlobInfoCacheDir is set incorrectly when copying images
It is not set based on the root image directory, and always points at the defaults. This change will get it to follow filepath.Join(ir.store.GraphRoot(), "cache") set from libpod. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
59b5f0ac32
commit
f7e11d34b1
|
@ -55,6 +55,7 @@ func (o DockerRegistryOptions) GetSystemContext(parent *types.SystemContext, add
|
|||
sc.DockerRegistryUserAgent = parent.DockerRegistryUserAgent
|
||||
sc.OSChoice = parent.OSChoice
|
||||
sc.ArchitectureChoice = parent.ArchitectureChoice
|
||||
sc.BlobInfoCacheDir = parent.BlobInfoCacheDir
|
||||
}
|
||||
return sc
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue