mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 00:04:15 -04:00
implement Name function on secondary plugin (#6230)
Signed-off-by: Diogenes Pelisson <diogenes.pelisson@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b95bc0a7ca
commit
a0e734e01b
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user