Merge pull request #27699 from yongtang/27695-info-duplicate-nat-null-plugin
Remove duplicate `nat`, `null` in `docker info` for Windows
This commit is contained in:
commit
f901c5ed1c
1 changed files with 3 additions and 0 deletions
|
@ -364,6 +364,9 @@ func (daemon *Daemon) GetNetworkDriverList() []string {
|
|||
|
||||
pluginList := daemon.netController.BuiltinDrivers()
|
||||
pluginMap := make(map[string]bool)
|
||||
for _, plugin := range pluginList {
|
||||
pluginMap[plugin] = true
|
||||
}
|
||||
|
||||
networks := daemon.netController.Networks()
|
||||
|
||||
|
|
Loading…
Reference in a new issue