feat(alerting): adds endpoint for getting alert states log

This commit is contained in:
bergquist
2016-04-28 10:59:46 +02:00
parent 3ecc13506c
commit 0f0fa0c257
7 changed files with 85 additions and 12 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func GetAlertById(query *m.GetAlertByIdQuery) error {
if err != nil {
return err
}
fmt.Printf("\n\n%v\n\n", query)
query.Result = alert
return nil
}