summaryrefslogtreecommitdiff
path: root/pkg/storage/image.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2017-12-11 10:42:36 -0600
committerGitHub <noreply@github.com>2017-12-11 10:42:36 -0600
commit7e179b6ddb7b70c48a750bf1b4afefbe5c8e72cc (patch)
treecaa31853392de5387944acd0dbf2c8be9cfd27c8 /pkg/storage/image.go
parent0e328de08dc6e17b4cc45b1bf47f2deddb3fef6d (diff)
parenteaf4d6c8c25eb433158f92b2daf6e9bd60d28703 (diff)
downloadpodman-7e179b6ddb7b70c48a750bf1b4afefbe5c8e72cc.tar.gz
podman-7e179b6ddb7b70c48a750bf1b4afefbe5c8e72cc.tar.bz2
podman-7e179b6ddb7b70c48a750bf1b4afefbe5c8e72cc.zip
Merge pull request #115 from umohnani8/containers
Vendor in latest upstream containers/image
Diffstat (limited to 'pkg/storage/image.go')
-rw-r--r--pkg/storage/image.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/storage/image.go b/pkg/storage/image.go
index 858668036..1ddfe2107 100644
--- a/pkg/storage/image.go
+++ b/pkg/storage/image.go
@@ -188,7 +188,7 @@ func (svc *imageService) CanPull(imageName string, options *copy.Options) (bool,
if err != nil {
return false, err
}
- src, err := image.FromSource(rawSource)
+ src, err := image.FromSource(options.SourceCtx, rawSource)
if err != nil {
rawSource.Close()
return false, err