Files
coredns/directives_generate.go
Grant Spence 0ed689e2d0 Generate zplugin.go correctly with third-party plugins (#6692)
Previously, the generation of zplugin.go would not separate
third-party external plugins from CoreDNS plugins in the go
import block. This leads to the TestImportOrdering unit test
failing, as it requires that third-party imports paths to be
in a separate import block.

While this issue does not affect the main CoreDNS repo, it can cause
unit test failures in forks of CoreDNS that include external third-party
plugins.

Signed-off-by: Grant Spence <gspence@redhat.com>
2024-05-29 15:41:09 -04:00

2.6 KiB