Commit 48975e65 by Espen Fjellvær Olsen

Keep QueryController up to date as well

parent 3e05eb23
...@@ -53,7 +53,7 @@ function (angular, _) { ...@@ -53,7 +53,7 @@ function (angular, _) {
return metricList; return metricList;
} }
else { else {
$scope.datasource.performMetricSuggestQuery().then(function(result) { $scope.datasource._performMetricSuggestQuery().then(function(result) {
metricList = result; metricList = result;
callback(metricList); callback(metricList);
}); });
...@@ -69,7 +69,7 @@ function (angular, _) { ...@@ -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)) { if (!_.isEmpty(result)) {
tagList.push(result); tagList.push(result);
callback(_.keys(result.tags)); callback(_.keys(result.tags));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment