Merge pull request #4161 from godfreyhe/fix_bug_getAggregators

fix bug: can't get the aggregators from opentsdb server
This commit is contained in:
Torkel Ödegaard 2016-02-28 07:52:02 +01:00
commit b56a2c14bb

View File

@ -38,7 +38,7 @@ export class OpenTsQueryCtrl extends QueryCtrl {
this.target.downsampleFillPolicy = 'none';
}
this.datasource.getAggregators().then(function(aggs) {
this.datasource.getAggregators().then((aggs) => {
this.aggregators = aggs;
});