mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
chore(alerting): struct names and url refactoring
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type AlertStateLog struct {
|
||||
type AlertState struct {
|
||||
Id int64 `json:"-"`
|
||||
OrgId int64 `json:"-"`
|
||||
AlertId int64 `json:"alertId"`
|
||||
@@ -36,9 +36,9 @@ type UpdateAlertStateCommand struct {
|
||||
|
||||
// Queries
|
||||
|
||||
type GetAlertsStateLogCommand struct {
|
||||
type GetAlertsStateCommand struct {
|
||||
OrgId int64 `json:"orgId" binding:"Required"`
|
||||
AlertId int64 `json:"alertId" binding:"Required"`
|
||||
|
||||
Result *[]AlertStateLog
|
||||
Result *[]AlertState
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user