consul debug

This commit is contained in:
Piotr Biernat 2023-07-01 17:57:30 +02:00
parent 91eeb6f275
commit 2f022919ff

View File

@ -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()