diff options
author | 2023-07-30 10:38:12 -0300 | |
---|---|---|
committer | 2023-07-30 15:38:12 +0200 | |
commit | a0e734e01ba2766e60ce6026b510b5803eb57c6e (patch) | |
tree | 99c791994f15e614b72e1819e16797bc0a04cfa3 | |
parent | b95bc0a7cac365b79d46288e1433a5c5ef903e02 (diff) | |
download | coredns-a0e734e01ba2766e60ce6026b510b5803eb57c6e.tar.gz coredns-a0e734e01ba2766e60ce6026b510b5803eb57c6e.tar.zst coredns-a0e734e01ba2766e60ce6026b510b5803eb57c6e.zip |
implement Name function on secondary plugin (#6230)
Signed-off-by: Diogenes Pelisson <diogenes.pelisson@gmail.com>
-rw-r--r-- | plugin/secondary/secondary.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/secondary/secondary.go b/plugin/secondary/secondary.go index 43934e80c..809edadbd 100644 --- a/plugin/secondary/secondary.go +++ b/plugin/secondary/secondary.go @@ -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" } |