From 8722336fff479e00900e3299f31063a9d1a76e9a Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Fri, 20 Apr 2018 11:01:06 +0100 Subject: global: move to context (#1699) * global: move to context Move from golang.org/x/net/context to std lib's context. Change done with: for i in $(grep -l '/context' **/*.go); do sed -e 's|golang.org/x/net/context|context|' -i $i; echo $i; done for i in **/*.go; do goimports -w $i; done * drop from dns.pb.go as well --- plugin/errors/errors.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugin/errors/errors.go') diff --git a/plugin/errors/errors.go b/plugin/errors/errors.go index a313f2e0d..1d7c4256b 100644 --- a/plugin/errors/errors.go +++ b/plugin/errors/errors.go @@ -11,8 +11,9 @@ import ( "github.com/coredns/coredns/plugin" "github.com/coredns/coredns/request" + "context" + "github.com/miekg/dns" - "golang.org/x/net/context" ) // errorHandler handles DNS errors (and errors from other plugin). -- cgit v1.2.3