middleware/etcd: Use the correct endpoint

The endpoint for etcd as wrongly set if a proxy was configured.
Clean up some documentation in the process as well.
This commit is contained in:
Miek Gieben 2016-04-19 12:52:05 +00:00
parent 913cffd4a8
commit a1e6cb7cf4
9 changed files with 8 additions and 24 deletions

View file

@ -2,9 +2,6 @@
package etcd
// etcd needs to be running on http://127.0.0.1:2379
// *and* needs connectivity to the internet for remotely resolving names.
import (
"encoding/json"
"sort"