mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
TSDB: add deprecation comments to many tsdb structs (#33281)
This commit is contained in:
@@ -16,6 +16,7 @@ type Executor struct {
|
||||
}
|
||||
|
||||
// NewExecutor creates a new Executor.
|
||||
//nolint: staticcheck // plugins.DataPlugin deprecated
|
||||
func NewExecutor(*models.DataSource) (plugins.DataPlugin, error) {
|
||||
return &Executor{
|
||||
intervalCalculator: interval.NewCalculator(),
|
||||
@@ -23,6 +24,7 @@ func NewExecutor(*models.DataSource) (plugins.DataPlugin, error) {
|
||||
}
|
||||
|
||||
// Query handles an elasticsearch datasource request
|
||||
//nolint: staticcheck // plugins.DataResponse deprecated
|
||||
func (e *Executor) DataQuery(ctx context.Context, dsInfo *models.DataSource,
|
||||
tsdbQuery plugins.DataQuery) (plugins.DataResponse, error) {
|
||||
if len(tsdbQuery.Queries) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user