mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
Fix make gen (#526)
When using an external middleware, the generated file was failing to compile. The issue is a typo in directives_generate.go that left imports with an unterminated string.
This commit is contained in:
committed by
Miek Gieben
parent
34db56a22e
commit
84fb9b8469
@@ -56,7 +56,7 @@ func genImports(file, pack string, mi map[string]string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, v := range mi {
|
for _, v := range mi {
|
||||||
outs += `_ "` + v + `\` + "\n"
|
outs += `_ "` + v + `"` + "\n"
|
||||||
}
|
}
|
||||||
outs += ")\n"
|
outs += ")\n"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user