mirror of
https://github.com/coredns/coredns.git
synced 2025-11-12 23:12:17 -05:00
plugin register (#3321)
These plugins where missed in #3287 because their setup is done in a file other than setup.go Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -10,12 +10,7 @@ import (
|
||||
"github.com/caddyserver/caddy"
|
||||
)
|
||||
|
||||
func init() {
|
||||
caddy.RegisterPlugin("tls", caddy.Plugin{
|
||||
ServerType: "dns",
|
||||
Action: setup,
|
||||
})
|
||||
}
|
||||
func init() { plugin.Register("tls", setup) }
|
||||
|
||||
func setup(c *caddy.Controller) error {
|
||||
err := parseTLS(c)
|
||||
|
||||
Reference in New Issue
Block a user