diff --git a/client/consul/sync.go b/client/consul/sync.go index dd8d4b34b..3f00e3245 100644 --- a/client/consul/sync.go +++ b/client/consul/sync.go @@ -480,12 +480,6 @@ func (c *Syncer) filterConsulChecks(chks map[string]*consul.AgentCheck) map[stri return nomadChecks } -// consulPresent indicates whether the consul agent is responding -func (c *Syncer) consulPresent() bool { - _, err := c.client.Agent().Self() - return err == nil -} - // runCheck runs a check and updates the corresponding ttl check in consul func (c *Syncer) runCheck(check Check) { res := check.Run()