consul debug

This commit is contained in:
Piotr Biernat 2023-07-02 01:32:45 +02:00
parent 8d884eebda
commit c29bb94c3d

View File

@ -109,7 +109,7 @@ func (s *Service) Unregister() error {
func (s *Service) Connect() (*connect.Service, error) {
// srvName := s.Name
srvName := "egommerce"
srvName := s.Name
fmt.Printf("CONNECT SERVER: %s\n", srvName)
svc, err := connect.NewService(srvName, s.client)
s.connect = svc