aboutsummaryrefslogtreecommitdiff
path: root/middleware/proxy/dns.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-02-22 07:25:58 +0000
committerGravatar GitHub <noreply@github.com> 2017-02-22 07:25:58 +0000
commitc5224b104836539dce0a07dc58004e943f8ec812 (patch)
treec02342c73aa26e288d8132698fcacdbf9d27b2ff /middleware/proxy/dns.go
parent81af74aad0d51961a7622fcb410d510ff83f9dd6 (diff)
downloadcoredns-c5224b104836539dce0a07dc58004e943f8ec812.tar.gz
coredns-c5224b104836539dce0a07dc58004e943f8ec812.tar.zst
coredns-c5224b104836539dce0a07dc58004e943f8ec812.zip
Golint (#548)
* linter fixes * Golint and format code * fmt
Diffstat (limited to 'middleware/proxy/dns.go')
-rw-r--r--middleware/proxy/dns.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/proxy/dns.go b/middleware/proxy/dns.go
index 3e212c7c3..7fa975733 100644
--- a/middleware/proxy/dns.go
+++ b/middleware/proxy/dns.go
@@ -20,7 +20,7 @@ func newDNSEx() *dnsEx {
return &dnsEx{group: new(singleflight.Group), Timeout: defaultTimeout * time.Second}
}
-func (g *dnsEx) Protocol() string { return "dns" }
+func (d *dnsEx) Protocol() string { return "dns" }
func (d *dnsEx) OnShutdown(p *Proxy) error { return nil }
func (d *dnsEx) OnStartup(p *Proxy) error { return nil }