Merge pull request #2511 from pivotal-cloudops/patch

fix test connection bug
This commit is contained in:
Torkel Ödegaard
2015-08-14 09:23:14 +02:00
@@ -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" };
});
};