From 1433b69abec3bb06e26e7e2009eb95c755ef39b7 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Wed, 28 Jun 2023 16:37:18 +0200 Subject: [PATCH] Moar HR --- consul/discovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/discovery.go b/consul/discovery.go index c2dedc4..466ff18 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -54,7 +54,7 @@ func newClientConfig(serverAddr string) *consul.Config { } func (s *Service) GetID() string { - return fmt.Sprintf("%s_%s", s.Name, s.appID) + return fmt.Sprintf("%s:%s", s.Name, s.appID) } func (s *Service) GetFullAddr() string {