mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
removes unused properties
the dsType property caused some confusion about what datasource is beeing used. I just removed it since it not beeing used. closes #10072
This commit is contained in:
@@ -172,7 +172,6 @@ export class ElasticQueryBuilder {
|
||||
build(target, adhocFilters?, queryString?) {
|
||||
// make sure query has defaults;
|
||||
target.metrics = target.metrics || [{ type: 'count', id: '1' }];
|
||||
target.dsType = 'elasticsearch';
|
||||
target.bucketAggs = target.bucketAggs || [{type: 'date_histogram', id: '2', settings: {interval: 'auto'}}];
|
||||
target.timeField = this.timeField;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user