diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-02-02 14:57:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 14:57:37 -0500 |
commit | aab8a934f5bd9bc58959c49f334d3ba57a0f5135 (patch) | |
tree | 0870e9b21e64d4347ea8024ccc8dba0ff3a263e0 /libpod/pod.go | |
parent | 628b0d79b523953cc6aa9b48bd91d04d0843353b (diff) | |
parent | 931ea939ac85bc0e64d12dc34ac920e9e91c4277 (diff) | |
download | podman-aab8a934f5bd9bc58959c49f334d3ba57a0f5135.tar.gz podman-aab8a934f5bd9bc58959c49f334d3ba57a0f5135.tar.bz2 podman-aab8a934f5bd9bc58959c49f334d3ba57a0f5135.zip |
Merge pull request #9185 from mheon/pod_no_network
Allow pods to use --net=none
Diffstat (limited to 'libpod/pod.go')
-rw-r--r-- | libpod/pod.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/pod.go b/libpod/pod.go index c8f62ca18..784c2cf5e 100644 --- a/libpod/pod.go +++ b/libpod/pod.go @@ -93,6 +93,7 @@ type podState struct { type InfraContainerConfig struct { ConmonPidFile string `json:"conmonPidFile"` HasInfraContainer bool `json:"makeInfraContainer"` + NoNetwork bool `json:"noNetwork,omitempty"` HostNetwork bool `json:"infraHostNetwork,omitempty"` PortBindings []ocicni.PortMapping `json:"infraPortBindings"` StaticIP net.IP `json:"staticIP,omitempty"` |