implement Name function on secondary plugin (#6230)

Signed-off-by: Diogenes Pelisson <diogenes.pelisson@gmail.com>
This commit is contained in:
Diogenes Pelisson 2023-07-30 10:38:12 -03:00 committed by GitHub
parent b95bc0a7ca
commit a0e734e01b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,3 +8,6 @@ import "github.com/coredns/coredns/plugin/file"
type Secondary struct {
file.File
}
// Name implements the Handler interface.
func (s Secondary) Name() string { return "secondary" }