Windows: [TP4] docker info crashes
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
758fae5f6b
commit
37d2a70038
1 changed files with 3 additions and 0 deletions
|
@ -152,6 +152,9 @@ func (daemon *Daemon) DisconnectContainerFromNetwork(containerName string, netwo
|
|||
func (daemon *Daemon) GetNetworkDriverList() map[string]bool {
|
||||
pluginList := make(map[string]bool)
|
||||
|
||||
if !daemon.NetworkControllerEnabled() {
|
||||
return nil
|
||||
}
|
||||
c := daemon.netController
|
||||
networks := c.Networks()
|
||||
|
||||
|
|
Loading…
Reference in a new issue