mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-07 01:15:44 +00:00
This should never be pulled into the remote client. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
14 lines
248 B
Go
14 lines
248 B
Go
//go:build !remote
|
|
// +build !remote
|
|
|
|
package libpod
|
|
|
|
func networkDisabled(c *Container) (bool, error) {
|
|
if c.config.CreateNetNS {
|
|
return false, nil
|
|
}
|
|
if !c.config.PostConfigureNetNS {
|
|
return c.state.NetNS != "", nil
|
|
}
|
|
return false, nil
|
|
}
|