implement Name function on secondary plugin (#6230)
Signed-off-by: Diogenes Pelisson <diogenes.pelisson@gmail.com>
This commit is contained in:
parent
b95bc0a7ca
commit
a0e734e01b
1 changed files with 3 additions and 0 deletions
|
@ -8,3 +8,6 @@ import "github.com/coredns/coredns/plugin/file"
|
||||||
type Secondary struct {
|
type Secondary struct {
|
||||||
file.File
|
file.File
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Name implements the Handler interface.
|
||||||
|
func (s Secondary) Name() string { return "secondary" }
|
||||||
|
|
Loading…
Add table
Reference in a new issue