Moar HR
This commit is contained in:
parent
c49ec85b3b
commit
1433b69abe
@ -54,7 +54,7 @@ func newClientConfig(serverAddr string) *consul.Config {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *Service) GetID() string {
|
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 {
|
func (s *Service) GetFullAddr() string {
|
||||||
|
Loading…
Reference in New Issue
Block a user