Merge pull request #759 from prymitive/alert-status-case
Serialize AlertStatus as 'status'
This commit is contained in:
commit
91a2b9d717
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue