summaryrefslogtreecommitdiff
path: root/pkg/domain/infra
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-23 21:35:34 +0100
committerGitHub <noreply@github.com>2020-12-23 21:35:34 +0100
commit61a2262e398125b2bea2a85a7e53256b08558152 (patch)
tree54d571a74f7d3f3aa64a8932ec01b555f971cb0b /pkg/domain/infra
parent3d21da3d11dc9b5944912544609c302c86e56b97 (diff)
parent14439b986924dd64c465e2f0df12f74e7334298e (diff)
downloadpodman-61a2262e398125b2bea2a85a7e53256b08558152.tar.gz
podman-61a2262e398125b2bea2a85a7e53256b08558152.tar.bz2
podman-61a2262e398125b2bea2a85a7e53256b08558152.zip
Merge pull request #8792 from bziemons/patch-host-network-spec-8790
Set NetNS mode instead of value
Diffstat (limited to 'pkg/domain/infra')
-rw-r--r--pkg/domain/infra/abi/play.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/play.go b/pkg/domain/infra/abi/play.go
index 5b983a3f4..4135e8882 100644
--- a/pkg/domain/infra/abi/play.go
+++ b/pkg/domain/infra/abi/play.go
@@ -226,7 +226,7 @@ func (ic *ContainerEngine) playKubePod(ctx context.Context, podName string, podY
return nil, err
}
- specGen, err := kube.ToSpecGen(ctx, container, container.Image, newImage, volumes, pod.ID(), podName, podInfraID, configMaps, seccompPaths, ctrRestartPolicy)
+ specGen, err := kube.ToSpecGen(ctx, container, container.Image, newImage, volumes, pod.ID(), podName, podInfraID, configMaps, seccompPaths, ctrRestartPolicy, p.NetNS.IsHost())
if err != nil {
return nil, err
}