aboutsummaryrefslogtreecommitdiff
path: root/test/etcd_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/etcd_test.go')
-rw-r--r--test/etcd_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/etcd_test.go b/test/etcd_test.go
index 66502e8dc..fcd1ddced 100644
--- a/test/etcd_test.go
+++ b/test/etcd_test.go
@@ -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()