aboutsummaryrefslogtreecommitdiff
path: root/plugin/rewrite
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/rewrite')
-rw-r--r--plugin/rewrite/reverter_test.go3
-rw-r--r--plugin/rewrite/rewrite.go3
-rw-r--r--plugin/rewrite/rewrite_test.go3
3 files changed, 3 insertions, 6 deletions
diff --git a/plugin/rewrite/reverter_test.go b/plugin/rewrite/reverter_test.go
index 495650c35..685cecac1 100644
--- a/plugin/rewrite/reverter_test.go
+++ b/plugin/rewrite/reverter_test.go
@@ -1,14 +1,13 @@
package rewrite
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"
)
diff --git a/plugin/rewrite/rewrite.go b/plugin/rewrite/rewrite.go
index c6b618038..522b4c0c3 100644
--- a/plugin/rewrite/rewrite.go
+++ b/plugin/rewrite/rewrite.go
@@ -1,14 +1,13 @@
package rewrite
import (
+ "context"
"fmt"
"strings"
"github.com/coredns/coredns/plugin"
"github.com/miekg/dns"
-
- "context"
)
// Result is the result of a rewrite
diff --git a/plugin/rewrite/rewrite_test.go b/plugin/rewrite/rewrite_test.go
index 1c87dba05..56c446f49 100644
--- a/plugin/rewrite/rewrite_test.go
+++ b/plugin/rewrite/rewrite_test.go
@@ -2,6 +2,7 @@ package rewrite
import (
"bytes"
+ "context"
"reflect"
"testing"
@@ -9,8 +10,6 @@ import (
"github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
- "context"
-
"github.com/miekg/dns"
)