summaryrefslogtreecommitdiff
path: root/pkg/ps/ps.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/ps/ps.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/ps/ps.go')
-rw-r--r--pkg/ps/ps.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/ps/ps.go b/pkg/ps/ps.go
index ef79973d6..54079baa1 100644
--- a/pkg/ps/ps.go
+++ b/pkg/ps/ps.go
@@ -9,7 +9,6 @@ import (
"strings"
"time"
- "github.com/containers/common/libimage"
"github.com/containers/podman/v3/libpod"
"github.com/containers/podman/v3/libpod/define"
"github.com/containers/podman/v3/pkg/domain/entities"
@@ -272,8 +271,7 @@ func ListStorageContainer(rt *libpod.Runtime, ctr storage.Container) (entities.L
imageName := ""
if ctr.ImageID != "" {
- lookupOptions := &libimage.LookupImageOptions{IgnorePlatform: true}
- image, _, err := rt.LibimageRuntime().LookupImage(ctr.ImageID, lookupOptions)
+ image, _, err := rt.LibimageRuntime().LookupImage(ctr.ImageID, nil)
if err != nil {
return ps, err
}