From c29bb94c3d41415d9a87ffc93f363e9bea0941c8 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Sun, 2 Jul 2023 01:32:45 +0200 Subject: [PATCH] consul debug --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index 69e4d86..b13fe3c 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -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