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:
Miek Gieben 2019-09-28 10:40:43 +01:00 committed by GitHub
parent 4ff5635a6e
commit ba5d4a6372
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 31 deletions

View file

@ -1,11 +1,6 @@
// Package bind allows binding to a specific interface instead of bind to all of them.
package bind
import "github.com/caddyserver/caddy"
import "github.com/coredns/coredns/plugin"
func init() {
caddy.RegisterPlugin("bind", caddy.Plugin{
ServerType: "dns",
Action: setup,
})
}
func init() { plugin.Register("bind", setup) }