Commit ffd035e8 authored by Dmitry Shulyak's avatar Dmitry Shulyak

Expect that path to files will be provided not raw data

parent a59db7c9
......@@ -105,15 +105,15 @@ func newCoreDNSProviderInterface(config io.Reader) (*Interface, error) {
etcdEndpoints = cfg.Global.EtcdEndpoints
dnsZones = cfg.Global.DNSZones
certFile = cfg.Global.CertFile
keyFile = cfg.Global.KeyFile
caFile = cfg.Global.CAFile
keyFile = cfg.Global.KeyFile
}
glog.Infof("Using CoreDNS DNS provider")
if dnsZones == "" {
return nil, fmt.Errorf("Need to provide at least one DNS Zone")
}
glog.Infof("Creating etcd transport with %s, %s, %s", certFile, keyFile, caFile)
etcdTransport, err := newTransportForETCD2(certFile, keyFile, caFile)
if err != nil {
return nil, fmt.Errorf("error creating transport for etcd: %v", err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment