Remove unused function.

This commit is contained in:
Sean Chittenden 2016-05-27 03:51:04 -07:00
parent 498f21cdec
commit bff82e4890
No known key found for this signature in database
GPG Key ID: 4EBC9DC16C2E5E16
1 changed files with 0 additions and 6 deletions

View File

@ -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()