aboutsummaryrefslogtreecommitdiff
path: root/plugin/autopath
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/autopath')
-rw-r--r--plugin/autopath/autopath.go4
-rw-r--r--plugin/autopath/autopath_test.go3
2 files changed, 3 insertions, 4 deletions
diff --git a/plugin/autopath/autopath.go b/plugin/autopath/autopath.go
index d2c00b7b5..693f09e47 100644
--- a/plugin/autopath/autopath.go
+++ b/plugin/autopath/autopath.go
@@ -32,13 +32,13 @@ func (m Plugins ) AutoPath(state request.Request) []string {
package autopath
import (
+ "context"
+
"github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/pkg/dnsutil"
"github.com/coredns/coredns/plugin/pkg/nonwriter"
"github.com/coredns/coredns/request"
- "context"
-
"github.com/miekg/dns"
)
diff --git a/plugin/autopath/autopath_test.go b/plugin/autopath/autopath_test.go
index 53140932d..a92ea4573 100644
--- a/plugin/autopath/autopath_test.go
+++ b/plugin/autopath/autopath_test.go
@@ -1,14 +1,13 @@
package autopath
import (
+ "context"
"testing"
"github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
- "context"
-
"github.com/miekg/dns"
)