diff --git a/consul/discovery.go b/consul/discovery.go index d2c1814..4e602fe 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -73,13 +73,14 @@ func (s *Service) Register() error { Port: s.port, Tags: s.getTags(), Connect: &consul.AgentServiceConnect{ - SidecarService: &consul.AgentServiceRegistration{ - Port: s.port, - }, - }, - Proxy: &consul.AgentServiceConnectProxyConfig{ - DestinationServiceName: s.Name, + Native: true, + // SidecarService: &consul.AgentServiceRegistration{ + // Port: s.port, + // }, }, + // Proxy: &consul.AgentServiceConnectProxyConfig{ + // DestinationServiceName: s.Name, + // }, Check: &consul.AgentServiceCheck{ TTL: s.ttl.String(), Status: "passing",