diff --git a/consul/discovery.go b/consul/discovery.go index c78d5e7..35b98bb 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -73,6 +73,7 @@ func (s *Service) Register() error { Tags: s.getTags(), Check: &consul.AgentServiceCheck{ TTL: s.ttl.String(), + Status: "passing", DeregisterCriticalServiceAfter: "10s", }, }