summaryrefslogtreecommitdiff
path: root/cmd/podman/registry/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/registry/config.go')
-rw-r--r--cmd/podman/registry/config.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/cmd/podman/registry/config.go b/cmd/podman/registry/config.go
index 15bb7aee0..b5c9b359c 100644
--- a/cmd/podman/registry/config.go
+++ b/cmd/podman/registry/config.go
@@ -81,11 +81,6 @@ func newPodmanConfig() {
mode = entities.TunnelMode
}
- cfg.Network.NetworkConfigDir = cfg.Network.CNIPluginDirs[0]
- if rootless.IsRootless() {
- cfg.Network.NetworkConfigDir = ""
- }
-
podmanOptions = entities.PodmanConfig{Config: cfg, EngineMode: mode}
}