More Middleware -> Plugin conversions (#1088)

Forgot about these.
This commit is contained in:
Miek Gieben
2017-09-16 14:13:28 +01:00
committed by GitHub
parent 6f874f0bd1
commit be47709270
15 changed files with 23 additions and 23 deletions

View File

@@ -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()