Просмотр исходного кода

Keep QueryController up to date as well

Espen Fjellvær Olsen 10 лет назад
Родитель
Сommit
48975e6533
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      public/app/plugins/datasource/kairosdb/queryCtrl.js

+ 2 - 2
public/app/plugins/datasource/kairosdb/queryCtrl.js

@@ -53,7 +53,7 @@ function (angular, _) {
         return metricList;
       }
       else {
-        $scope.datasource.performMetricSuggestQuery().then(function(result) {
+        $scope.datasource._performMetricSuggestQuery().then(function(result) {
           metricList = result;
           callback(metricList);
         });
@@ -69,7 +69,7 @@ function (angular, _) {
         }
       }
 
-      $scope.datasource.performTagSuggestQuery($scope.target.metric).then(function(result) {
+      $scope.datasource._performTagSuggestQuery($scope.target.metric).then(function(result) {
         if (!_.isEmpty(result)) {
           tagList.push(result);
           callback(_.keys(result.tags));