From 4e8ad039cee5debcc1afe93a455cd8a25e88d16b Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Tue, 7 Dec 2021 20:43:04 +0100 Subject: remove unneeded return value from c.Networks() We do not need to return a extra bool. Signed-off-by: Paul Holzinger --- pkg/ps/ps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/ps') 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 } -- cgit v1.2.3-54-g00ecf