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