diff --git a/consul/discovery.go b/consul/discovery.go index 590ebb1..2ed9ea9 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -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,