From 12a241de812334a5e7e59944a821160384811f9a Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Fri, 30 Jun 2023 13:37:06 +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 35b98bb..fc2c88d 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -110,6 +110,7 @@ func (s *Service) Unregister() error { func (s *Service) Connect() (*connect.Service, error) { svc, err := connect.NewService(s.Name, s.client) s.connect = svc + fmt.Printf("CONNECT CERT CONFIG: %v", svc.ServerTLSConfig()) return svc, err }