mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
@@ -20,7 +20,7 @@ import (
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
func etcdMiddleware() *etcd.Etcd {
|
||||
func etcdPlugin() *etcd.Etcd {
|
||||
etcdCfg := etcdc.Config{
|
||||
Endpoints: []string{"http://localhost:2379"},
|
||||
}
|
||||
@@ -53,7 +53,7 @@ func TestEtcdStubAndProxyLookup(t *testing.T) {
|
||||
}
|
||||
defer ex.Stop()
|
||||
|
||||
etc := etcdMiddleware()
|
||||
etc := etcdPlugin()
|
||||
log.SetOutput(ioutil.Discard)
|
||||
|
||||
var ctx = context.TODO()
|
||||
|
||||
Reference in New Issue
Block a user