aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Diogenes Pelisson <diogenes.pelisson@gmail.com> 2023-07-30 10:38:12 -0300
committerGravatar GitHub <noreply@github.com> 2023-07-30 15:38:12 +0200
commita0e734e01ba2766e60ce6026b510b5803eb57c6e (patch)
tree99c791994f15e614b72e1819e16797bc0a04cfa3
parentb95bc0a7cac365b79d46288e1433a5c5ef903e02 (diff)
downloadcoredns-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.go3
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" }