diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-08-05 02:42:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-05 02:42:11 +0200 |
commit | 9a9ad853cb6781460829cb139cecbf9aff37896d (patch) | |
tree | ec853cabe9c5c53b205b8e10ca875fc724a0f821 /pkg | |
parent | 0d81149554df0b27bd8976ffe9910fe39da6f1ef (diff) | |
parent | 3b22faa24b9ba73f77b3257c4fea1315b5cff0d2 (diff) | |
download | podman-9a9ad853cb6781460829cb139cecbf9aff37896d.tar.gz podman-9a9ad853cb6781460829cb139cecbf9aff37896d.tar.bz2 podman-9a9ad853cb6781460829cb139cecbf9aff37896d.zip |
Merge pull request #7226 from ashley-cui/v2.0
v2.0 Backports
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/domain/infra/abi/play.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/domain/infra/abi/play.go b/pkg/domain/infra/abi/play.go index 888811958..52a62a25d 100644 --- a/pkg/domain/infra/abi/play.go +++ b/pkg/domain/infra/abi/play.go @@ -340,9 +340,7 @@ func getPodPorts(containers []v1.Container) []ocicni.PortMapping { HostPort: p.HostPort, ContainerPort: p.ContainerPort, Protocol: strings.ToLower(string(p.Protocol)), - } - if p.HostIP != "" { - logrus.Debug("HostIP on port bindings is not supported") + HostIP: p.HostIP, } // only hostPort is utilized in podman context, all container ports // are accessible inside the shared network namespace |