mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 10:43:17 -04:00
presubmit: check import path ordering (#3636)
Add a test for this as well as it's annoying to point out in every code review. Fix all the import paths that are flagged by this new test. Fixes: #3634 Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -3,11 +3,9 @@ package test
|
||||
import (
|
||||
"sync"
|
||||
|
||||
_ "github.com/coredns/coredns/core" // Hook in CoreDNS.
|
||||
"github.com/coredns/coredns/core/dnsserver"
|
||||
// Hook in CoreDNS.
|
||||
_ "github.com/coredns/coredns/core"
|
||||
// Load all managed plugins in github.com/coredns/coredns
|
||||
_ "github.com/coredns/coredns/core/plugin"
|
||||
_ "github.com/coredns/coredns/core/plugin" // Load all managed plugins in github.com/coredns/coredns.
|
||||
|
||||
"github.com/caddyserver/caddy"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user