mirror of
https://github.com/containers/podman.git
synced 2025-07-28 10:52:35 +08:00

This should never be pulled into the remote client. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
15 lines
248 B
Go
15 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
|
|
}
|