consul debug
This commit is contained in:
parent
91eeb6f275
commit
2f022919ff
@ -108,6 +108,7 @@ func (s *Service) Unregister() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *Service) Connect() (*connect.Service, error) {
|
func (s *Service) Connect() (*connect.Service, error) {
|
||||||
|
fmt.Printf("CONNECT SERVER: %s\n", s.Name)
|
||||||
svc, err := connect.NewService(s.Name, s.client)
|
svc, err := connect.NewService(s.Name, s.client)
|
||||||
s.connect = svc
|
s.connect = svc
|
||||||
cnf := svc.ServerTLSConfig()
|
cnf := svc.ServerTLSConfig()
|
||||||
|
Loading…
Reference in New Issue
Block a user