consul debug
This commit is contained in:
parent
8d884eebda
commit
c29bb94c3d
@ -109,7 +109,7 @@ func (s *Service) Unregister() error {
|
|||||||
|
|
||||||
func (s *Service) Connect() (*connect.Service, error) {
|
func (s *Service) Connect() (*connect.Service, error) {
|
||||||
// srvName := s.Name
|
// srvName := s.Name
|
||||||
srvName := "egommerce"
|
srvName := s.Name
|
||||||
fmt.Printf("CONNECT SERVER: %s\n", srvName)
|
fmt.Printf("CONNECT SERVER: %s\n", srvName)
|
||||||
svc, err := connect.NewService(srvName, s.client)
|
svc, err := connect.NewService(srvName, s.client)
|
||||||
s.connect = svc
|
s.connect = svc
|
||||||
|
Loading…
Reference in New Issue
Block a user