diff options
Diffstat (limited to 'plugin/health/setup.go')
-rw-r--r-- | plugin/health/setup.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugin/health/setup.go b/plugin/health/setup.go index 75e35d8e6..1f72cb245 100644 --- a/plugin/health/setup.go +++ b/plugin/health/setup.go @@ -11,12 +11,7 @@ import ( "github.com/caddyserver/caddy" ) -func init() { - caddy.RegisterPlugin("health", caddy.Plugin{ - ServerType: "dns", - Action: setup, - }) -} +func init() { plugin.Register("health", setup) } func setup(c *caddy.Controller) error { addr, lame, err := parse(c) |