Log heartbeat stopping

This commit is contained in:
Jeff Mitchell 2017-06-05 15:57:04 -04:00
parent d9b11daec5
commit fb9029e3dd
1 changed files with 1 additions and 0 deletions

View File

@ -426,6 +426,7 @@ func (c *forwardingClient) startHeartbeat() {
select {
case <-c.echoContext.Done():
c.echoTicker.Stop()
c.core.logger.Trace("forwarding: stopping heartbeating")
return
case <-c.echoTicker.C:
tick()