summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-07-11 12:53:59 +0000
committerGitHub <noreply@github.com>2022-07-11 12:53:59 +0000
commit0df8c6e1572c30fed45d96a4761060d3d440d69d (patch)
tree77539110d85fa8f4400eaa4609ddd7bbc4da6bf3 /pkg/domain/infra/tunnel
parent3691c9b1ba8e63f56b5cc36cdb1670fcfbdba0a1 (diff)
parentd1754bdd4f299c8d92671493add4a69ef7850e1d (diff)
downloadpodman-0df8c6e1572c30fed45d96a4761060d3d440d69d.tar.gz
podman-0df8c6e1572c30fed45d96a4761060d3d440d69d.tar.bz2
podman-0df8c6e1572c30fed45d96a4761060d3d440d69d.zip
Merge pull request #14826 from sstosh/net-prune
Refactored networkPrune function
Diffstat (limited to 'pkg/domain/infra/tunnel')
-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 ffdcbab1e..6e27b8e56 100644
--- a/pkg/domain/infra/tunnel/network.go
+++ b/pkg/domain/infra/tunnel/network.go
@@ -96,7 +96,7 @@ func (ic *ContainerEngine) NetworkExists(ctx context.Context, networkname string
}, nil
}
-// Network prune removes unused cni networks
+// Network prune removes unused networks
func (ic *ContainerEngine) NetworkPrune(ctx context.Context, options entities.NetworkPruneOptions) ([]*entities.NetworkPruneReport, error) {
opts := new(network.PruneOptions).WithFilters(options.Filters)
return network.Prune(ic.ClientCtx, opts)