aboutsummaryrefslogtreecommitdiff
path: root/plugin/etcd/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/etcd/handler.go')
-rw-r--r--plugin/etcd/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/etcd/handler.go b/plugin/etcd/handler.go
index 6d2a7a2bf..a2f7fb7b9 100644
--- a/plugin/etcd/handler.go
+++ b/plugin/etcd/handler.go
@@ -12,7 +12,7 @@ import (
// ServeDNS implements the plugin.Handler interface.
func (e *Etcd) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) {
opt := plugin.Options{}
- state := request.Request{W: w, Req: r}
+ state := request.Request{W: w, Req: r, Context: ctx}
name := state.Name()