mirror of
https://github.com/coredns/coredns.git
synced 2026-04-07 04:25:32 -04:00
lint(revive): fix unused-parameter violations (#7980)
This commit is contained in:
@@ -14,7 +14,7 @@ func setup(c *caddy.Controller) error {
|
||||
return plugin.Error("whoami", c.ArgErr())
|
||||
}
|
||||
|
||||
dnsserver.GetConfig(c).AddPlugin(func(next plugin.Handler) plugin.Handler {
|
||||
dnsserver.GetConfig(c).AddPlugin(func(_next plugin.Handler) plugin.Handler {
|
||||
return Whoami{}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user