Change default port for etc2 backend to default 2379

This commit is contained in:
Matthew Hook 2016-02-11 12:16:13 +13:00
parent 1f9fa9e756
commit 1a55d66857

View File

@ -25,7 +25,7 @@ func (f *Factory) New(uri *url.URL) bridge.RegistryAdapter {
if uri.Host != "" {
urls = append(urls, "http://"+uri.Host)
} else {
urls = append(urls, "http://127.0.0.1:4001")
urls = append(urls, "http://127.0.0.1:2379")
}
res, err := http.Get(urls[0] + "/version")