aboutsummaryrefslogtreecommitdiff
path: root/middleware/etcd/etcd.go
diff options
context:
space:
mode:
Diffstat (limited to 'middleware/etcd/etcd.go')
-rw-r--r--middleware/etcd/etcd.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/middleware/etcd/etcd.go b/middleware/etcd/etcd.go
index d13c7c031..f405adec9 100644
--- a/middleware/etcd/etcd.go
+++ b/middleware/etcd/etcd.go
@@ -27,6 +27,8 @@ type Etcd struct {
Inflight *singleflight.Group
Stubmap *map[string]proxy.Proxy // list of proxies for stub resolving.
Debug bool // Do we allow debug queries.
+
+ endpoints []string // Stored here as well, to aid in testing.
}
// Records looks up records in etcd. If exact is true, it will lookup just