Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2020-01-13 11:21:20 +01:00
parent 722133881b
commit 519ef9ca79
6 changed files with 52 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ import (
"github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin"
clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/coredns/coredns/plugin/traffic/xds"
"github.com/caddyserver/caddy"
)
@@ -31,6 +32,8 @@ func setup(c *caddy.Controller) error {
return t
})
t.c.WatchCluster("xds_experimental", func(xds.CDSUpdate, error) {})
return nil
}