From c053c1523125df7c0c213a6ad1d1aebdcc142c05 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Tue, 21 Mar 2017 20:37:52 +0400 Subject: [PATCH] [tm-monitor] only restart EventMeter --- tm-monitor/monitor/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tm-monitor/monitor/node.go b/tm-monitor/monitor/node.go index 308428a2b..85ffc1492 100644 --- a/tm-monitor/monitor/node.go +++ b/tm-monitor/monitor/node.go @@ -182,7 +182,7 @@ func (n *Node) RestartBackOff() error { d := time.Duration(math.Exp2(float64(attempt))) time.Sleep(d * time.Second) - if err := n.Start(); err != nil { + if err := n.em.Start(); err != nil { n.logger.Log("err", errors.Wrap(err, "restart failed")) } else { // TODO: authenticate pubkey