aboutsummaryrefslogtreecommitdiff
path: root/plugin/cache/prefech_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-04-20 11:01:06 +0100
committerGravatar GitHub <noreply@github.com> 2018-04-20 11:01:06 +0100
commit8722336fff479e00900e3299f31063a9d1a76e9a (patch)
treedeb3d99aeae1d8543a3dbfd20bc36b4ef7daff1b /plugin/cache/prefech_test.go
parent61726b3721b6049f436841fe4c5f7db48d5a39d0 (diff)
downloadcoredns-8722336fff479e00900e3299f31063a9d1a76e9a.tar.gz
coredns-8722336fff479e00900e3299f31063a9d1a76e9a.tar.zst
coredns-8722336fff479e00900e3299f31063a9d1a76e9a.zip
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
Diffstat (limited to 'plugin/cache/prefech_test.go')
-rw-r--r--plugin/cache/prefech_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/cache/prefech_test.go b/plugin/cache/prefech_test.go
index 1cd0758fb..1f32396e1 100644
--- a/plugin/cache/prefech_test.go
+++ b/plugin/cache/prefech_test.go
@@ -8,9 +8,10 @@ import (
"github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/pkg/dnstest"
+ "context"
+
"github.com/coredns/coredns/plugin/test"
"github.com/miekg/dns"
- "golang.org/x/net/context"
)
func TestPrefetch(t *testing.T) {
write-router Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/examples/sha.js (unfollow)
AgeCommit message (Expand)AuthorFilesLines