mirror of
https://github.com/grafana/grafana.git
synced 2025-01-24 23:37:01 -06:00
fix bug: can't get the aggregators from opentsdb server
This commit is contained in:
parent
30f3b55baf
commit
8e7a127792
@ -38,8 +38,9 @@ export class OpenTsQueryCtrl extends QueryCtrl {
|
||||
this.target.downsampleFillPolicy = 'none';
|
||||
}
|
||||
|
||||
var self = this;
|
||||
this.datasource.getAggregators().then(function(aggs) {
|
||||
this.aggregators = aggs;
|
||||
self.aggregators = aggs;
|
||||
});
|
||||
|
||||
// needs to be defined here as it is called from typeahead
|
||||
|
Loading…
Reference in New Issue
Block a user