Merge pull request #27699 from yongtang/27695-info-duplicate-nat-null-plugin
Remove duplicate `nat`, `null` in `docker info` for Windows Upstream-commit: f901c5ed1c76d507a09079935e680f8c5bdd9070 Component: engine
This commit is contained in:
@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user