From ee240d5162da3a427b923fecf4df1fe995138a02 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Wed, 15 Jun 2016 15:47:59 -0700 Subject: [PATCH] remove trace --- client/client.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/client.go b/client/client.go index bd82bb33d..7f2abdf40 100644 --- a/client/client.go +++ b/client/client.go @@ -1234,11 +1234,9 @@ func (c *Client) setupConsulSyncer() error { // providing a heartbeat that does contain a leader. if atomic.LoadInt32(&c.lastHeartbeatFromQuorum) == 1 && now.Before(c.consulPullHeartbeatDeadline) { c.heartbeatLock.Unlock() - // c.logger.Printf("[TRACE] client.consul: heartbeat received, sleeping until %v", c.consulPullHeartbeatDeadline) return nil } c.heartbeatLock.Unlock() - c.logger.Printf("[TRACE] client.consul: lost heartbeat with Nomad quorum, falling back to Consul for server list") consulCatalog := c.consulSyncer.ConsulClient().Catalog() dcs, err := consulCatalog.Datacenters()