diff options
author | 2018-01-30 16:19:37 +0200 | |
---|---|---|
committer | 2018-01-30 09:19:37 -0500 | |
commit | f91cb61086211fe4a4b1b61672f127429b7cf4b9 (patch) | |
tree | 01bb2b3bfec25397d04b6d7e56c3935bf545bddf /plugin/proxy/exchanger.go | |
parent | 449bb1ac6ce1b58cf14caa2daf7f9520a36901ef (diff) | |
download | coredns-f91cb61086211fe4a4b1b61672f127429b7cf4b9.tar.gz coredns-f91cb61086211fe4a4b1b61672f127429b7cf4b9.tar.zst coredns-f91cb61086211fe4a4b1b61672f127429b7cf4b9.zip |
Don't use standard lib context package (#1468)
With Go 1.9 you *can* include the std lib's context package and nothing
breaks. However we never officially made the move (and grpc also doesn't
ues the std lib's one).
Standardize all plugins on using the extern context package.
Fixes #1466
Diffstat (limited to 'plugin/proxy/exchanger.go')
-rw-r--r-- | plugin/proxy/exchanger.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/proxy/exchanger.go b/plugin/proxy/exchanger.go index b98a687e7..283022dae 100644 --- a/plugin/proxy/exchanger.go +++ b/plugin/proxy/exchanger.go @@ -1,10 +1,10 @@ package proxy import ( - "context" - "github.com/coredns/coredns/request" + "github.com/miekg/dns" + "golang.org/x/net/context" ) // Exchanger is an interface that specifies a type implementing a DNS resolver that |