From 2f022919ffa42789cea4c87e903483baf7921480 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Sat, 1 Jul 2023 17:57:30 +0200 Subject: [PATCH] consul debug --- consul/discovery.go | 1 + 1 file changed, 1 insertion(+) 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()