diff options
author | Paul Holzinger <pholzing@redhat.com> | 2021-12-14 17:06:50 +0100 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2021-12-14 18:41:06 +0100 |
commit | 888c778ee975b449aef6dec6bbdfb029a7fe385e (patch) | |
tree | d53a9077a78838a28ae33a615e317d913b3c01b4 /pkg/domain/infra/abi | |
parent | c501c1d6423759d9180bfe254d1bbe7662d89868 (diff) | |
download | podman-888c778ee975b449aef6dec6bbdfb029a7fe385e.tar.gz podman-888c778ee975b449aef6dec6bbdfb029a7fe385e.tar.bz2 podman-888c778ee975b449aef6dec6bbdfb029a7fe385e.zip |
fix network id handling
We have to get the network ID from the network backend. With the
netavark backend we no longer use the sha from the name as ID.
[NO NEW TESTS NEEDED]
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg/domain/infra/abi')
-rw-r--r-- | pkg/domain/infra/abi/pods.go | 2 |
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..fc0a2337c 100644 --- a/pkg/domain/infra/abi/pods.go +++ b/pkg/domain/infra/abi/pods.go @@ -325,7 +325,7 @@ func (ic *ContainerEngine) PodPs(ctx context.Context, options entities.PodPSOpti filters := make([]libpod.PodFilter, 0, len(options.Filters)) for k, v := range options.Filters { - f, err := dfilters.GeneratePodFilterFunc(k, v) + f, err := dfilters.GeneratePodFilterFunc(k, v, ic.Libpod) if err != nil { return nil, err } |