fix testDatasource, which was calling performSuggestQuery instead of _performSuggestQuery

This commit is contained in:
Mike Kobyakov
2015-07-15 12:03:22 -07:00
parent eb88a53223
commit f76374cd8f

View File

@@ -167,7 +167,7 @@ function (angular, _, kbn) {
};
OpenTSDBDatasource.prototype.testDatasource = function() {
return this.performSuggestQuery('cpu', 'metrics').then(function () {
return this._performSuggestQuery('cpu', 'metrics').then(function () {
return { status: "success", message: "Data source is working", title: "Success" };
});
};