feat(alerting): moves getNewState to evalHandler

closes #7149
This commit is contained in:
bergquist
2017-01-13 11:02:24 +01:00
parent bccdd7cad1
commit 0873d493c2
6 changed files with 109 additions and 126 deletions
+1 -1
View File
@@ -120,10 +120,10 @@ func AlertTest(c *middleware.Context, dto dtos.AlertTestCommand) Response {
}
res := backendCmd.Result
dtoRes := &dtos.AlertTestResult{
Firing: res.Firing,
ConditionEvals: res.ConditionEvals,
State: res.Rule.State,
}
if res.Error != nil {