style(alerting): remove blank lines

This commit is contained in:
bergquist 2016-09-06 14:57:15 +02:00
parent 22805ce56b
commit 0d7a871223
2 changed files with 0 additions and 4 deletions

View File

@ -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)

View File

@ -40,6 +40,5 @@ func TestAlertingExecutor(t *testing.T) {
handler.eval(context)
So(context.Firing, ShouldEqual, false)
})
})
}