|
@@ -7,7 +7,7 @@ import (
|
|
|
|
|
|
|
|
func NewRegistrar(c *conf.Bootstrap) *registry.Registry {
|
|
func NewRegistrar(c *conf.Bootstrap) *registry.Registry {
|
|
|
if c.Server.Registrar.Group != "" {
|
|
if c.Server.Registrar.Group != "" {
|
|
|
- r, err := registry.New(c.Server.Registrar.Group, c.Server.Registrar.Namespace, registry.Group(c.Server.Registrar.Group))
|
|
|
|
|
|
|
+ r, err := registry.New(c.Server.Registrar.Endpoint, c.Server.Registrar.Namespace, registry.Group(c.Server.Registrar.Group))
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
panic(err)
|
|
panic(err)
|
|
|
}
|
|
}
|