From a9b73a653644f89f849b0c30d26a2adf81c8810f Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Thu, 6 Jul 2023 19:30:00 +0200 Subject: [PATCH] register fix 2 --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index 2b869cf..669967a 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -119,10 +119,10 @@ func (s *Service) Unregister() error { func (s *Service) Connect() (*connect.Service, error) { // srvName := s.Name srvName := s.Name - fmt.Printf("CONNECT SERVER: %s\n", srvName) svc, err := connect.NewService(srvName, s.client) s.connect = svc cnf := svc.ServerTLSConfig() + fmt.Printf("CONNECT SERVER:: %s CONFIG:: %v\n", srvName, cnf) for k, c := range cnf.Certificates { fmt.Printf("CONNECT CERT %d: %v", k, c) }