diff options
Diffstat (limited to 'plugin/template/template.go')
-rw-r--r-- | plugin/template/template.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugin/template/template.go b/plugin/template/template.go index 0932ec787..62c284177 100644 --- a/plugin/template/template.go +++ b/plugin/template/template.go @@ -91,9 +91,7 @@ func (h Handler) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) } // Name implements the plugin.Handler interface. -func (h Handler) Name() string { - return "template" -} +func (h Handler) Name() string { return "template" } func executeRRTemplate(section string, template *gotmpl.Template, data templateData) (dns.RR, error) { buffer := &bytes.Buffer{} |