dcsunny 4 vuotta sitten
vanhempi
commit
958e555c7d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      internal/server/registrar.go

+ 1 - 1
internal/server/registrar.go

@@ -7,7 +7,7 @@ import (
 
 func NewRegistrar(c *conf.Bootstrap) *registry.Registry {
 	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 {
 			panic(err)
 		}