diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-10-08 16:22:53 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-10-08 16:22:55 -0400 |
commit | f7e11d34b1e8499172606731dbab2662889fc344 (patch) | |
tree | a29950dfdf9e988bf77e332bf380091a15dae79a | |
parent | 59b5f0ac32ddf615fada021bc62c823bb73233da (diff) | |
download | podman-f7e11d34b1e8499172606731dbab2662889fc344.tar.gz podman-f7e11d34b1e8499172606731dbab2662889fc344.tar.bz2 podman-f7e11d34b1e8499172606731dbab2662889fc344.zip |
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>
-rw-r--r-- | libpod/image/docker_registry_options.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/image/docker_registry_options.go b/libpod/image/docker_registry_options.go index 257b7ae8d..835473a1f 100644 --- a/libpod/image/docker_registry_options.go +++ b/libpod/image/docker_registry_options.go @@ -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 } |