summaryrefslogtreecommitdiff
path: root/pkg/specgen/generate/container_create.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-07-16 11:12:44 -0400
committerGitHub <noreply@github.com>2021-07-16 11:12:44 -0400
commit68585b01687ca695c010cae84999302d816ec304 (patch)
treeec72efcb93835d84cb970e1089fc336cd9cf2f76 /pkg/specgen/generate/container_create.go
parentbc268666356faeb4a2dfb1d19cf507bbf682ccc7 (diff)
parente1ac0c303342f47dd06f861e312c2e4d10136df3 (diff)
downloadpodman-68585b01687ca695c010cae84999302d816ec304.tar.gz
podman-68585b01687ca695c010cae84999302d816ec304.tar.bz2
podman-68585b01687ca695c010cae84999302d816ec304.zip
Merge pull request #10848 from vrothberg/update-libimage
vendor containers/common@main
Diffstat (limited to 'pkg/specgen/generate/container_create.go')
-rw-r--r--pkg/specgen/generate/container_create.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/specgen/generate/container_create.go b/pkg/specgen/generate/container_create.go
index e2901f0b6..b569f8390 100644
--- a/pkg/specgen/generate/container_create.go
+++ b/pkg/specgen/generate/container_create.go
@@ -92,8 +92,7 @@ func MakeContainer(ctx context.Context, rt *libpod.Runtime, s *specgen.SpecGener
options = append(options, libpod.WithRootFS(s.Rootfs))
} else {
var resolvedImageName string
- lookupOptions := &libimage.LookupImageOptions{IgnorePlatform: true}
- newImage, resolvedImageName, err = rt.LibimageRuntime().LookupImage(s.Image, lookupOptions)
+ newImage, resolvedImageName, err = rt.LibimageRuntime().LookupImage(s.Image, nil)
if err != nil {
return nil, err
}