mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
@@ -293,7 +293,7 @@ func (w *testImportOrderingWalker) walk(path string, info os.FileInfo, _ error)
|
||||
|
||||
// Ok, now that we have the type, let's see if all members adhere to it.
|
||||
// After that we check if the are in the right order.
|
||||
for i := 0; i < bl; i++ {
|
||||
for i := 0; i <= bl; i++ {
|
||||
for _, p := range blocks[i] {
|
||||
t := importtype(p.Path.Value)
|
||||
if t != ip[i] {
|
||||
|
||||
Reference in New Issue
Block a user