mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix for a change in datasource object
This commit is contained in:
parent
76c18e50a4
commit
eb88a53223
@ -173,11 +173,7 @@ function (angular, _, kbn) {
|
||||
};
|
||||
|
||||
OpenTSDBDatasource.prototype.performAggregatorsQuery = function() {
|
||||
var options = {
|
||||
method: 'GET',
|
||||
url: this.url + '/api/aggregators'
|
||||
};
|
||||
return $http(options).then(function(result) {
|
||||
return this._get('/api/aggregators', {}).then(function(result) {
|
||||
if (result.data instanceof Array) {
|
||||
return result.data.sort();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user