瀏覽代碼

Merge pull request #4161 from godfreyhe/fix_bug_getAggregators

fix bug: can't get the aggregators from opentsdb server
Torkel Ödegaard 10 年之前
父節點
當前提交
b56a2c14bb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/app/plugins/datasource/opentsdb/query_ctrl.ts

+ 1 - 1
public/app/plugins/datasource/opentsdb/query_ctrl.ts

@@ -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;
     });