consul debug
This commit is contained in:
parent
ef2567e0b6
commit
12a241de81
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user