Commit 6c49ab93 by Torkel Ödegaard

Merge pull request #2511 from pivotal-cloudops/patch

fix test connection bug
parents f784551e dc9c2773
...@@ -167,7 +167,7 @@ function (angular, _, kbn) { ...@@ -167,7 +167,7 @@ function (angular, _, kbn) {
}; };
OpenTSDBDatasource.prototype.testDatasource = function() { 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" }; return { status: "success", message: "Data source is working", title: "Success" };
}); });
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment