diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-07-19 14:59:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-19 14:59:13 +0200 |
commit | 02140ea7d1244fbafb77723a3a67423b0806b08e (patch) | |
tree | 002608749a0930e7a75a6213217a9f09461eec71 /cmd/podman/rmi.go | |
parent | 398aeac8537e82ca813bb77e44ddfcefa5cc5ad5 (diff) | |
parent | 8ae97b2f57a845dd05f70f244a763c53250b4e81 (diff) | |
download | podman-02140ea7d1244fbafb77723a3a67423b0806b08e.tar.gz podman-02140ea7d1244fbafb77723a3a67423b0806b08e.tar.bz2 podman-02140ea7d1244fbafb77723a3a67423b0806b08e.zip |
Merge pull request #3590 from rhatdan/ro
Add support for listing read/only and read/write images
Diffstat (limited to 'cmd/podman/rmi.go')
-rw-r--r-- | cmd/podman/rmi.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/rmi.go b/cmd/podman/rmi.go index 9229d497e..57e78c34a 100644 --- a/cmd/podman/rmi.go +++ b/cmd/podman/rmi.go @@ -87,7 +87,7 @@ func rmiCmd(c *cliconfig.RmiValues) error { if removeAll { var imagesToDelete []*adapter.ContainerImage - imagesToDelete, err = runtime.GetImages() + imagesToDelete, err = runtime.GetRWImages() if err != nil { return errors.Wrapf(err, "unable to query local images") } @@ -107,7 +107,7 @@ func rmiCmd(c *cliconfig.RmiValues) error { removeImage(i) } lastNumberofImages = len(imagesToDelete) - imagesToDelete, err = runtime.GetImages() + imagesToDelete, err = runtime.GetRWImages() if err != nil { return err } |