mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
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:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user