core: don't always include all plugins (#1135)

Clean out the imports in coredns.go and just leave the server import.

Fixes #1119
This commit is contained in:
Miek Gieben
2017-10-08 04:27:57 -07:00
committed by GitHub
parent 6a0185f4fa
commit c9bf91f1a7
3 changed files with 2 additions and 27 deletions

View File

@@ -59,7 +59,7 @@ func genImports(file, pack string, mi map[string]string) {
outs += "\n"
}
outs += "// Include all plugin.\n"
outs += "// Include all plugins.\n"
for _, v := range mi {
outs += `_ "` + v + `"` + "\n"
}