summaryrefslogtreecommitdiff
path: root/libpod/runtime_ctr_network.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/runtime_ctr_network.go')
-rw-r--r--libpod/runtime_ctr_network.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/libpod/runtime_ctr_network.go b/libpod/runtime_ctr_network.go
new file mode 100644
index 000000000..51ed982e2
--- /dev/null
+++ b/libpod/runtime_ctr_network.go
@@ -0,0 +1,12 @@
+// +build linux
+
+package libpod
+
+import (
+ "github.com/containers/common/pkg/config"
+ "github.com/containers/podman/v3/libpod/network"
+)
+
+func normalizeNetworkName(config *config.Config, nameOrID string) (string, error) {
+ return network.NormalizeName(config, nameOrID)
+}