mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
support etcd credentials in etcd plugin (#2442)
* support etcd credentials in etcd plugin fixes #2441 * try to fix cleanup of authentication
This commit is contained in:
committed by
Miek Gieben
parent
b455f86824
commit
d878eeebbb
@@ -289,7 +289,7 @@ func newEtcdPlugin() *Etcd {
|
||||
|
||||
endpoints := []string{"http://localhost:2379"}
|
||||
tlsc, _ := tls.NewTLSConfigFromArgs()
|
||||
client, _ := newEtcdClient(endpoints, tlsc)
|
||||
client, _ := newEtcdClient(endpoints, tlsc, "", "")
|
||||
|
||||
return &Etcd{
|
||||
Upstream: upstream.New(),
|
||||
|
||||
Reference in New Issue
Block a user