feat(alerting): shows when no_data triggered alerts

closes #7035
ref #7257
This commit is contained in:
bergquist
2017-01-16 18:01:08 +01:00
parent f29f83ca75
commit e78da57e4d
7 changed files with 29 additions and 7 deletions

View File

@@ -113,6 +113,12 @@ func HandleAlertsQuery(query *m.GetAlertsQuery) error {
return err
}
for i, _ := range alerts {
if alerts[i].ExecutionError == " " {
alerts[i].ExecutionError = ""
}
}
query.Result = alerts
return nil
}