aboutsummaryrefslogtreecommitdiff
path: root/plugin/k8s_external/setup.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/k8s_external/setup.go')
-rw-r--r--plugin/k8s_external/setup.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugin/k8s_external/setup.go b/plugin/k8s_external/setup.go
index ed645c0c8..5c2dce0b2 100644
--- a/plugin/k8s_external/setup.go
+++ b/plugin/k8s_external/setup.go
@@ -9,12 +9,7 @@ import (
"github.com/caddyserver/caddy"
)
-func init() {
- caddy.RegisterPlugin("k8s_external", caddy.Plugin{
- ServerType: "dns",
- Action: setup,
- })
-}
+func init() { plugin.Register("k8s_external", setup) }
func setup(c *caddy.Controller) error {
e, err := parse(c)