From fa5a304de862c438e25ab8818b7477d1c8304b13 Mon Sep 17 00:00:00 2001 From: Gareth Dawson Date: Wed, 9 Nov 2022 14:10:47 +0000 Subject: [PATCH] Elasticsearch: fix typo (#58519) --- 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