summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/network.go
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2020-09-02 18:13:58 +0200
committerPaul Holzinger <paul.holzinger@web.de>2020-09-07 15:39:41 +0200
commit5b8f3f2f1f863dfb58e5d3cfda95e7ecb6582b22 (patch)
treea413ccdad49a09f2bae47dff5c549d12465ccb27 /pkg/domain/infra/tunnel/network.go
parent1184cdf03d8464451d36b24643e57b65a8b97980 (diff)
downloadpodman-5b8f3f2f1f863dfb58e5d3cfda95e7ecb6582b22.tar.gz
podman-5b8f3f2f1f863dfb58e5d3cfda95e7ecb6582b22.tar.bz2
podman-5b8f3f2f1f863dfb58e5d3cfda95e7ecb6582b22.zip
APIv2 Add network list filtering
Add the filter option to the libpod endpoint. Add support for the name filter on the docker endpoint. Add apiv2 tests for the network list endpoints. Enable podman network integration tests for remote. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'pkg/domain/infra/tunnel/network.go')
-rw-r--r--pkg/domain/infra/tunnel/network.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/network.go b/pkg/domain/infra/tunnel/network.go
index 2b197cac0..074425087 100644
--- a/pkg/domain/infra/tunnel/network.go
+++ b/pkg/domain/infra/tunnel/network.go
@@ -8,7 +8,7 @@ import (
)
func (ic *ContainerEngine) NetworkList(ctx context.Context, options entities.NetworkListOptions) ([]*entities.NetworkListReport, error) {
- return network.List(ic.ClientCxt)
+ return network.List(ic.ClientCxt, options)
}
func (ic *ContainerEngine) NetworkInspect(ctx context.Context, namesOrIds []string, options entities.NetworkInspectOptions) ([]entities.NetworkInspectReport, error) {