aboutsummaryrefslogtreecommitdiff
path: root/request/request.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-06-01 15:12:49 +0100
committerGravatar GitHub <noreply@github.com> 2018-06-01 15:12:49 +0100
commit4f0b36e57e867496ccf89301061284235424eabd (patch)
treed6830393a24f871254a03c97f9a46efdeb4c43f0 /request/request.go
parent0df5eb98fed30e3585681701ee97fe22f7c4b17e (diff)
downloadcoredns-4f0b36e57e867496ccf89301061284235424eabd.tar.gz
coredns-4f0b36e57e867496ccf89301061284235424eabd.tar.zst
coredns-4f0b36e57e867496ccf89301061284235424eabd.zip
Extend presubmit to covert test and request (#1846)
Fix the casing *and* fix use of context as we were still referencing the non-std lib context - no wondering how this could have worked...
Diffstat (limited to 'request/request.go')
-rw-r--r--request/request.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/request/request.go b/request/request.go
index 64504e6b4..ac6e9866c 100644
--- a/request/request.go
+++ b/request/request.go
@@ -2,13 +2,13 @@
package request
import (
+ "context"
"net"
"strings"
"github.com/coredns/coredns/plugin/pkg/edns"
"github.com/miekg/dns"
- "golang.org/x/net/context"
)
// Request contains some connection state and is useful in plugin.