aboutsummaryrefslogtreecommitdiff
path: root/plugin/errors
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/errors')
-rw-r--r--plugin/errors/errors.go3
-rw-r--r--plugin/errors/errors_test.go3
2 files changed, 2 insertions, 4 deletions
diff --git a/plugin/errors/errors.go b/plugin/errors/errors.go
index 1d7c4256b..a8724f44b 100644
--- a/plugin/errors/errors.go
+++ b/plugin/errors/errors.go
@@ -2,6 +2,7 @@
package errors
import (
+ "context"
"fmt"
"log"
"runtime"
@@ -11,8 +12,6 @@ import (
"github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/request"
- "context"
-
"github.com/miekg/dns"
)
diff --git a/plugin/errors/errors_test.go b/plugin/errors/errors_test.go
index bc78f13d5..f3857df56 100644
--- a/plugin/errors/errors_test.go
+++ b/plugin/errors/errors_test.go
@@ -2,6 +2,7 @@ package errors
import (
"bytes"
+ "context"
"errors"
"fmt"
"log"
@@ -12,8 +13,6 @@ import (
"github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
- "context"
-
"github.com/miekg/dns"
)