mirror of
https://github.com/coredns/coredns.git
synced 2025-11-11 06:22:24 -05:00
Fully go to v2 of the xds proto
Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
"github.com/coredns/coredns/plugin/metrics"
|
||||
clog "github.com/coredns/coredns/plugin/pkg/log"
|
||||
"github.com/coredns/coredns/plugin/pkg/parse"
|
||||
pkgtls "github.com/coredns/coredns/plugin/pkg/tls"
|
||||
ctls "github.com/coredns/coredns/plugin/pkg/tls"
|
||||
"github.com/coredns/coredns/plugin/pkg/transport"
|
||||
"github.com/coredns/coredns/plugin/traffic/xds"
|
||||
|
||||
@@ -121,7 +121,7 @@ func parseTraffic(c *caddy.Controller) (*Traffic, error) {
|
||||
return nil, c.ArgErr()
|
||||
}
|
||||
|
||||
tlsConfig, err = pkgtls.NewTLSConfigFromArgs(args...)
|
||||
tlsConfig, err = ctls.NewTLSConfigFromArgs(args...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user