|
@@ -32,7 +32,6 @@ type Container struct {
|
|
Image string
|
|
Image string
|
|
|
|
|
|
network *NetworkInterface
|
|
network *NetworkInterface
|
|
- networkManager *NetworkManager
|
|
|
|
NetworkSettings *NetworkSettings
|
|
NetworkSettings *NetworkSettings
|
|
|
|
|
|
SysInitPath string
|
|
SysInitPath string
|
|
@@ -266,7 +265,7 @@ func (container *Container) StderrPipe() (io.ReadCloser, error) {
|
|
}
|
|
}
|
|
|
|
|
|
func (container *Container) allocateNetwork() error {
|
|
func (container *Container) allocateNetwork() error {
|
|
- iface, err := container.networkManager.Allocate()
|
|
|
|
|
|
+ iface, err := container.runtime.networkManager.Allocate()
|
|
if err != nil {
|
|
if err != nil {
|
|
return err
|
|
return err
|
|
}
|
|
}
|