This commit is contained in:
Piotr Biernat 2023-06-28 16:37:18 +02:00
parent c49ec85b3b
commit 1433b69abe

View File

@ -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 {