diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-06-16 12:04:51 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-06-16 12:29:25 -0400 |
commit | fb4148bc41f597f28c1007e5c359f8baa61275a9 (patch) | |
tree | eb2965983e8598df6d6765d42583a7845755f0fd /libpod | |
parent | 908bc3fba305666b3cd41b29bd775bb62f1f8f9f (diff) | |
download | podman-fb4148bc41f597f28c1007e5c359f8baa61275a9.tar.gz podman-fb4148bc41f597f28c1007e5c359f8baa61275a9.tar.bz2 podman-fb4148bc41f597f28c1007e5c359f8baa61275a9.zip |
Fix podman-remote images
Looks like we went too far with the linters.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod')
-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 |