mirror of
https://github.com/grafana/grafana.git
synced 2026-08-18 09:05:04 -05:00
Build: Stricter linting should break the build (#23606)
This commit is contained in:
@@ -127,7 +127,7 @@ func (c *QueryCondition) executeQuery(context *alerting.EvalContext, timeRange *
|
||||
}
|
||||
|
||||
type queryDto struct {
|
||||
RefId string `json:"refId"`
|
||||
RefID string `json:"refId"`
|
||||
Model *simplejson.Json `json:"model"`
|
||||
Datasource *simplejson.Json `json:"datasource"`
|
||||
MaxDataPoints int64 `json:"maxDataPoints"`
|
||||
@@ -137,7 +137,7 @@ func (c *QueryCondition) executeQuery(context *alerting.EvalContext, timeRange *
|
||||
queries := []*queryDto{}
|
||||
for _, q := range req.Queries {
|
||||
queries = append(queries, &queryDto{
|
||||
RefId: q.RefId,
|
||||
RefID: q.RefId,
|
||||
Model: q.Model,
|
||||
Datasource: simplejson.NewFromAny(map[string]interface{}{
|
||||
"id": q.DataSource.Id,
|
||||
|
||||
Reference in New Issue
Block a user