diff options
author | 2018-04-22 08:34:35 +0100 | |
---|---|---|
committer | 2018-04-22 08:34:35 +0100 | |
commit | 0930eb8beb69684dfb1e1e066e2a7a6ed3827bf4 (patch) | |
tree | 80ead193f34227b1fc8f010f83a727edd89bf9f3 /plugin/log | |
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/log')
-rw-r--r-- | plugin/log/log.go | 3 | ||||
-rw-r--r-- | plugin/log/log_test.go | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/plugin/log/log.go b/plugin/log/log.go index c60e790ce..f52a70344 100644 --- a/plugin/log/log.go +++ b/plugin/log/log.go @@ -2,6 +2,7 @@ package log import ( + "context" "log" "time" @@ -13,8 +14,6 @@ import ( "github.com/coredns/coredns/plugin/pkg/response" "github.com/coredns/coredns/request" - "context" - "github.com/miekg/dns" ) diff --git a/plugin/log/log_test.go b/plugin/log/log_test.go index 5efbbd68a..484135cd5 100644 --- a/plugin/log/log_test.go +++ b/plugin/log/log_test.go @@ -2,6 +2,7 @@ package log import ( "bytes" + "context" "log" "strings" "testing" @@ -10,8 +11,6 @@ import ( "github.com/coredns/coredns/plugin/pkg/response" "github.com/coredns/coredns/plugin/test" - "context" - "github.com/miekg/dns" ) |