Update after namespace refactor

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
Michael Crosby 2014-05-05 13:54:37 -07:00
parent 70fef1460a
commit 01fec73ba4
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ func (d *driver) createContainer(c *execdriver.Command) (*libcontainer.Container
func (d *driver) createNetwork(container *libcontainer.Container, c *execdriver.Command) error {
if c.Network.HostNetworking {
container.Namespaces.Get("NEWNET").Enabled = false
container.Namespaces["NEWNET"] = false
return nil
}
container.Networks = []*libcontainer.Network{