Commit 390ae30c authored by Geoff Simmons's avatar Geoff Simmons

Remove an unnecessary else block (which makes golint happier).

parent 1e832e36
......@@ -128,10 +128,9 @@ func (vc *Controller) checkInst() bool {
err)
metrics.restartFails.Inc()
return false
} else {
vc.infoEvt(restart, "Child restarted")
metrics.restarts.Inc()
}
vc.infoEvt(restart, "Child restarted")
metrics.restarts.Inc()
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment