summaryrefslogtreecommitdiff
path: root/libpod/networking_linux.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-14 10:49:13 -0400
committerGitHub <noreply@github.com>2021-09-14 10:49:13 -0400
commit27ebae9e90d1d3e5a980a786c3ad525c14ebf0d9 (patch)
treedee80dc71b9a8d92e2ed5a40326f822c12b7793d /libpod/networking_linux.go
parent2b21f1f0464fb06e944c6daf4a482ab2f948d117 (diff)
parentd3f0f09ad94af1d67b4f7baa83036dc851edee18 (diff)
downloadpodman-27ebae9e90d1d3e5a980a786c3ad525c14ebf0d9.tar.gz
podman-27ebae9e90d1d3e5a980a786c3ad525c14ebf0d9.tar.bz2
podman-27ebae9e90d1d3e5a980a786c3ad525c14ebf0d9.zip
Merge pull request #11551 from Luap99/rootlessport-restart
fix restart always with rootlessport
Diffstat (limited to 'libpod/networking_linux.go')
-rw-r--r--libpod/networking_linux.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/networking_linux.go b/libpod/networking_linux.go
index 9aa6cab15..b0d4e0b2d 100644
--- a/libpod/networking_linux.go
+++ b/libpod/networking_linux.go
@@ -718,6 +718,7 @@ func (r *Runtime) setupRootlessNetNS(ctr *Container) error {
// set up port forwarder for CNI-in-slirp4netns
netnsPath := ctr.state.NetNS.Path()
// TODO: support slirp4netns port forwarder as well
+ // make sure to fix this container.handleRestartPolicy() as well
return r.setupRootlessPortMappingViaRLK(ctr, netnsPath)
}
return nil