mirror of
https://github.com/valitydev/registrator.git
synced 2024-11-06 10:55:19 +00:00
Change default port for etc2 backend to default 2379
This commit is contained in:
parent
1f9fa9e756
commit
1a55d66857
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user