diff --git a/consul/discovery.go b/consul/discovery.go index 5dc32fd..c1c7d87 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -144,11 +144,10 @@ func (s *Service) Connect() (*connect.Service, error) { // }) svc, err := connect.NewService(s.Name, s.client) s.connect = svc - cnf := svc.ServerTLSConfig() - fmt.Printf("CONNECT SERVER:: %s CONFIG:: %v\n", s.Name, cnf) - for k, c := range cnf.Certificates { - fmt.Printf("CONNECT CERT %d: %v", k, c) - } + fmt.Printf("CONNECT SERVER:: %s CERTS:: %v\n", s.Name, svc.ServerTLSConfig()) + // for k, c := range cnf.Certificates { + // fmt.Printf("CONNECT CERT %d: %v", k, c) + // } return svc, err }