diff --git a/consul/discovery.go b/consul/discovery.go index b2fb551..174ff16 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -108,6 +108,7 @@ func (s *Service) Unregister() error { } func (s *Service) Connect() (*connect.Service, error) { + fmt.Printf("CONNECT SERVER: %s\n", s.Name) svc, err := connect.NewService(s.Name, s.client) s.connect = svc cnf := svc.ServerTLSConfig()