summaryrefslogtreecommitdiff
path: root/pkg/storage
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/storage')
-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