From 725618e1d1122cf1a06f952caff73c5ec23a788e Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Wed, 9 Nov 2022 16:39:31 +0100 Subject: [PATCH] Elasticsearch: fix typo (#58519) (#58523) (cherry picked from commit fa5a304de862c438e25ab8818b7477d1c8304b13) Co-authored-by: Gareth Dawson --- pkg/tsdb/elasticsearch/models.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tsdb/elasticsearch/models.go b/pkg/tsdb/elasticsearch/models.go index bf8ed5c6736..77679ab29cb 100644 --- a/pkg/tsdb/elasticsearch/models.go +++ b/pkg/tsdb/elasticsearch/models.go @@ -22,7 +22,7 @@ type BucketAgg struct { Field string `json:"field"` ID string `json:"id"` Settings *simplejson.Json `json:"settings"` - Type string `jsons:"type"` + Type string `json:"type"` } // MetricAgg represents a metric aggregation of the time series query model of the datasource