diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-16 23:02:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-16 23:02:41 +0200 |
commit | 89630adbc418eac4a7eddf683226ee61f24f93be (patch) | |
tree | 314afdb1569357fdd31219d62a1d26b6b6de32e7 /libpod/image/image.go | |
parent | d6965da26d194c7edfef65985d4a2c7b564a3fca (diff) | |
parent | fb4148bc41f597f28c1007e5c359f8baa61275a9 (diff) | |
download | podman-89630adbc418eac4a7eddf683226ee61f24f93be.tar.gz podman-89630adbc418eac4a7eddf683226ee61f24f93be.tar.bz2 podman-89630adbc418eac4a7eddf683226ee61f24f93be.zip |
Merge pull request #6624 from rhatdan/mount
Fix podman-remote images
Diffstat (limited to 'libpod/image/image.go')
-rw-r--r-- | libpod/image/image.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/image/image.go b/libpod/image/image.go index 1101e35dc..d81f7e911 100644 --- a/libpod/image/image.go +++ b/libpod/image/image.go @@ -478,7 +478,7 @@ func (ir *Runtime) getImages(rwOnly bool) ([]*Image, error) { if err != nil { return nil, err } - newImages := make([]*Image, 0, len(images)) + newImages := []*Image{} for _, i := range images { if rwOnly && i.ReadOnly { continue |