mirror of
https://github.com/coredns/coredns.git
synced 2025-08-07 14:57:01 +02:00
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
@ -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…
Reference in New Issue
Block a user