aboutsummaryrefslogtreecommitdiff
path: root/plugin/proxy/exchanger.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-01-30 16:19:37 +0200
committerGravatar John Belamaric <jbelamaric@infoblox.com> 2018-01-30 09:19:37 -0500
commitf91cb61086211fe4a4b1b61672f127429b7cf4b9 (patch)
tree01bb2b3bfec25397d04b6d7e56c3935bf545bddf /plugin/proxy/exchanger.go
parent449bb1ac6ce1b58cf14caa2daf7f9520a36901ef (diff)
downloadcoredns-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.go4
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