From ef2567e0b6704b3dbfbf8391dc3440c2d5b36042 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Fri, 30 Jun 2023 13:04:53 +0200 Subject: [PATCH] consul: status - passing --- consul/discovery.go | 1 + 1 file changed, 1 insertion(+) 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", }, }