Commit 0d7a8712 by bergquist

style(alerting): remove blank lines

parent 22805ce5
......@@ -21,7 +21,6 @@ func NewEvalHandler() *DefaultEvalHandler {
}
func (e *DefaultEvalHandler) Eval(context *EvalContext) {
go e.eval(context)
select {
......@@ -32,11 +31,9 @@ func (e *DefaultEvalHandler) Eval(context *EvalContext) {
case <-context.DoneChan:
e.log.Debug("Job Execution done", "timeMs", context.GetDurationMs(), "alertId", context.Rule.Id, "firing", context.Firing)
}
}
func (e *DefaultEvalHandler) eval(context *EvalContext) {
for _, condition := range context.Rule.Conditions {
condition.Eval(context)
......
......@@ -40,6 +40,5 @@ func TestAlertingExecutor(t *testing.T) {
handler.eval(context)
So(context.Firing, ShouldEqual, false)
})
})
}
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