mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -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"`
|
} `json:"operator"`
|
||||||
|
|
||||||
Query struct {
|
Query struct {
|
||||||
Params []string
|
Params []string `json:"params"`
|
||||||
} `json:"query"`
|
} `json:"query"`
|
||||||
|
|
||||||
Reducer struct {
|
Reducer struct {
|
||||||
|
@ -53,7 +53,7 @@ type dashConditionsJSON struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// dashAlertingConditionJSON is like classic.ClassicConditionJSON except that it
|
// 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 {
|
type dashAlertingConditionJSON struct {
|
||||||
Evaluator conditionEvalJSON `json:"evaluator"`
|
Evaluator conditionEvalJSON `json:"evaluator"`
|
||||||
|
|
||||||
@ -62,8 +62,8 @@ type dashAlertingConditionJSON struct {
|
|||||||
} `json:"operator"`
|
} `json:"operator"`
|
||||||
|
|
||||||
Query struct {
|
Query struct {
|
||||||
Params []string
|
Params []string `json:"params"`
|
||||||
DatasourceID int64 `json:""`
|
DatasourceID int64 `json:""`
|
||||||
Model json.RawMessage
|
Model json.RawMessage
|
||||||
} `json:"query"`
|
} `json:"query"`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user