consul register fix
This commit is contained in:
parent
54e4006d0d
commit
dad915f2ec
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user