Keep QueryController up to date as well

This commit is contained in:
Espen Fjellvær Olsen
2015-07-08 09:36:25 +02:00
parent 3e05eb23fd
commit 48975e6533
@@ -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));