register fix 2
This commit is contained in:
parent
95584eb407
commit
a9b73a6536
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user