summaryrefslogtreecommitdiff
path: root/pkg/ps
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2021-12-07 20:43:04 +0100
committerPaul Holzinger <pholzing@redhat.com>2021-12-14 15:23:38 +0100
commit4e8ad039cee5debcc1afe93a455cd8a25e88d16b (patch)
tree074e270c79e5629fbb3197f1159bbb7dc549edf5 /pkg/ps
parent5490be67b3620c7a13319f4a18519ab691c20bef (diff)
downloadpodman-4e8ad039cee5debcc1afe93a455cd8a25e88d16b.tar.gz
podman-4e8ad039cee5debcc1afe93a455cd8a25e88d16b.tar.bz2
podman-4e8ad039cee5debcc1afe93a455cd8a25e88d16b.zip
remove unneeded return value from c.Networks()
We do not need to return a extra bool. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg/ps')
-rw-r--r--pkg/ps/ps.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ps/ps.go b/pkg/ps/ps.go
index 90ad23f49..391bd54d6 100644
--- a/pkg/ps/ps.go
+++ b/pkg/ps/ps.go
@@ -207,7 +207,7 @@ func ListContainerBatch(rt *libpod.Runtime, ctr *libpod.Container, opts entities
return entities.ListContainer{}, err
}
- networks, _, err := ctr.Networks()
+ networks, err := ctr.Networks()
if err != nil {
return entities.ListContainer{}, err
}