consul register fix

This commit is contained in:
Piotr Biernat 2023-07-04 18:41:52 +02:00
parent 54e4006d0d
commit dad915f2ec

View File

@ -67,6 +67,7 @@ func (s *Service) GetFullAddr() string {
func (s *Service) Register() error {
def := &consul.AgentServiceRegistration{
ID: s.GetID(),
Kind: consul.ServiceKindConnectProxy,
Name: s.Name,
Address: s.Address,
Port: s.port,