summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/images.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-06-16 12:04:51 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-06-16 12:29:25 -0400
commitfb4148bc41f597f28c1007e5c359f8baa61275a9 (patch)
treeeb2965983e8598df6d6765d42583a7845755f0fd /pkg/domain/infra/tunnel/images.go
parent908bc3fba305666b3cd41b29bd775bb62f1f8f9f (diff)
downloadpodman-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 'pkg/domain/infra/tunnel/images.go')
-rw-r--r--pkg/domain/infra/tunnel/images.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/images.go b/pkg/domain/infra/tunnel/images.go
index ec2c53c4f..fc7ac0aa8 100644
--- a/pkg/domain/infra/tunnel/images.go
+++ b/pkg/domain/infra/tunnel/images.go
@@ -39,7 +39,7 @@ func (ir *ImageEngine) List(ctx context.Context, opts entities.ImageListOptions)
return nil, err
}
- is := make([]*entities.ImageSummary, 0, len(images))
+ is := make([]*entities.ImageSummary, len(images))
for i, img := range images {
hold := entities.ImageSummary{}
if err := utils.DeepCopy(&hold, img); err != nil {