diff --git a/consul/discovery.go b/consul/discovery.go index 63c0be1..6847603 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -74,7 +74,7 @@ func (s *Service) Register() error { Connect: &consul.AgentServiceConnect{ SidecarService: &consul.AgentServiceRegistration{ Port: s.port, - } + }, }, Check: &consul.AgentServiceCheck{ TTL: s.ttl.String(),