+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user