Elasticsearch: Removed reference to obsolete esVersion value (#65415)

* elastic: removed reference to obsolete esVersion value

* removed unused code

* cleaned up tests
This commit is contained in:
Gábor Farkas
2023-03-28 16:04:56 +02:00
committed by GitHub
parent de1637afe5
commit 0cff917f2a
22 changed files with 81 additions and 410 deletions

View File

@@ -9,7 +9,6 @@ import (
"net/http"
"time"
"github.com/Masterminds/semver"
"github.com/grafana/grafana-plugin-sdk-go/backend"
es "github.com/grafana/grafana/pkg/tsdb/elasticsearch/client"
@@ -49,7 +48,6 @@ func newFlowTestDsInfo(body []byte, statusCode int, requestCallback func(req *ht
}
return &es.DatasourceInfo{
ESVersion: semver.MustParse("8.5.0"),
Interval: "Daily",
Database: "[testdb-]YYYY.MM.DD",
ConfiguredFields: configuredFields,