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

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

parent 1e832e36
...@@ -128,12 +128,11 @@ func (vc *Controller) checkInst() bool { ...@@ -128,12 +128,11 @@ func (vc *Controller) checkInst() bool {
err) err)
metrics.restartFails.Inc() metrics.restartFails.Inc()
return false return false
} else { }
vc.infoEvt(restart, "Child restarted") vc.infoEvt(restart, "Child restarted")
metrics.restarts.Inc() metrics.restarts.Inc()
} }
} }
}
panic, err := adm.GetPanic() panic, err := adm.GetPanic()
if err != nil { if err != nil {
......
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