summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi/pods.go
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/domain/infra/abi/pods.go
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/domain/infra/abi/pods.go')
-rw-r--r--pkg/domain/infra/abi/pods.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/pods.go b/pkg/domain/infra/abi/pods.go
index 028de9e81..c8c7b0d9e 100644
--- a/pkg/domain/infra/abi/pods.go
+++ b/pkg/domain/infra/abi/pods.go
@@ -376,7 +376,7 @@ func (ic *ContainerEngine) PodPs(ctx context.Context, options entities.PodPSOpti
if err != nil {
return nil, err
}
- networks, _, err = infra.Networks()
+ networks, err = infra.Networks()
if err != nil {
return nil, err
}