summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/utils/images.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/api/handlers/utils/images.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/api/handlers/utils/images.go')
-rw-r--r--pkg/api/handlers/utils/images.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/api/handlers/utils/images.go b/pkg/api/handlers/utils/images.go
index 2a1908d63..1e8edb6dd 100644
--- a/pkg/api/handlers/utils/images.go
+++ b/pkg/api/handlers/utils/images.go
@@ -88,8 +88,7 @@ func GetImages(w http.ResponseWriter, r *http.Request) ([]*libimage.Image, error
func GetImage(r *http.Request, name string) (*libimage.Image, error) {
runtime := r.Context().Value("runtime").(*libpod.Runtime)
- lookupOptions := &libimage.LookupImageOptions{IgnorePlatform: true}
- image, _, err := runtime.LibimageRuntime().LookupImage(name, lookupOptions)
+ image, _, err := runtime.LibimageRuntime().LookupImage(name, nil)
if err != nil {
return nil, err
}