Merge pull request #759 from prymitive/alert-status-case

Serialize AlertStatus as 'status'
This commit is contained in:
Fabian Reinartz 2017-04-28 22:35:30 +02:00 committed by GitHub
commit 91a2b9d717
1 changed files with 3 additions and 3 deletions

View File

@ -81,9 +81,9 @@ type AlertBlock struct {
type APIAlert struct {
*model.Alert
Status types.AlertState
InhibitedBy []string `json:"inhibitedBy"`
SilencedBy []string `json:"silencedBy"`
Status types.AlertState `json:"status"`
InhibitedBy []string `json:"inhibitedBy"`
SilencedBy []string `json:"silencedBy"`
}
// AlertGroup is a list of alert blocks grouped by the same label set.