From bf4f0310b4558417ec4377793dc82feb82d8d73c Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Fri, 27 May 2016 03:51:04 -0700 Subject: [PATCH] Remove unused function. --- client/consul/sync.go | 6 ------ 1 file changed, 6 deletions(-) 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()