mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
SSE: fix casing on classic conditions model. (#32754)
This commit is contained in:
parent
0d08928981
commit
6395c649c8
@ -26,7 +26,7 @@ type ClassicConditionJSON struct {
|
||||
} `json:"operator"`
|
||||
|
||||
Query struct {
|
||||
Params []string
|
||||
Params []string `json:"params"`
|
||||
} `json:"query"`
|
||||
|
||||
Reducer struct {
|
||||
|
@ -53,7 +53,7 @@ type dashConditionsJSON struct {
|
||||
}
|
||||
|
||||
// dashAlertingConditionJSON is like classic.ClassicConditionJSON except that it
|
||||
// include the model property with the query.
|
||||
// includes the model property with the query.
|
||||
type dashAlertingConditionJSON struct {
|
||||
Evaluator conditionEvalJSON `json:"evaluator"`
|
||||
|
||||
@ -62,8 +62,8 @@ type dashAlertingConditionJSON struct {
|
||||
} `json:"operator"`
|
||||
|
||||
Query struct {
|
||||
Params []string
|
||||
DatasourceID int64 `json:""`
|
||||
Params []string `json:"params"`
|
||||
DatasourceID int64 `json:""`
|
||||
Model json.RawMessage
|
||||
} `json:"query"`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user