consul debug

This commit is contained in:
Piotr Biernat 2023-06-30 13:37:06 +02:00
parent ef2567e0b6
commit 12a241de81

View File

@ -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
}