diff options
author | 2018-04-22 08:34:35 +0100 | |
---|---|---|
committer | 2018-04-22 08:34:35 +0100 | |
commit | 0930eb8beb69684dfb1e1e066e2a7a6ed3827bf4 (patch) | |
tree | 80ead193f34227b1fc8f010f83a727edd89bf9f3 /plugin/hosts | |
parent | 69a956f052a603eca3d400abf8a44a9b44f83184 (diff) | |
download | coredns-0930eb8beb69684dfb1e1e066e2a7a6ed3827bf4.tar.gz coredns-0930eb8beb69684dfb1e1e066e2a7a6ed3827bf4.tar.zst coredns-0930eb8beb69684dfb1e1e066e2a7a6ed3827bf4.zip |
all: fix plugin import ordering (#1717)
Got a bit messed up with stb lib "context" usage.
Diffstat (limited to 'plugin/hosts')
-rw-r--r-- | plugin/hosts/hosts.go | 4 | ||||
-rw-r--r-- | plugin/hosts/hosts_test.go | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/plugin/hosts/hosts.go b/plugin/hosts/hosts.go index 9385f2c37..74b6cfe31 100644 --- a/plugin/hosts/hosts.go +++ b/plugin/hosts/hosts.go @@ -1,14 +1,14 @@ package hosts import ( - "net" - "context" + "net" "github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin/pkg/dnsutil" "github.com/coredns/coredns/plugin/pkg/fall" "github.com/coredns/coredns/request" + "github.com/miekg/dns" ) diff --git a/plugin/hosts/hosts_test.go b/plugin/hosts/hosts_test.go index 67a071d9a..db3876132 100644 --- a/plugin/hosts/hosts_test.go +++ b/plugin/hosts/hosts_test.go @@ -1,14 +1,13 @@ package hosts import ( + "context" "strings" "testing" "github.com/coredns/coredns/plugin/pkg/dnstest" "github.com/coredns/coredns/plugin/test" - "context" - "github.com/miekg/dns" ) |