fix test connection bug

This commit is contained in:
Pivotal
2015-07-31 11:21:30 +08:00
parent f784551e20
commit dc9c2773cb

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" };
});
};