Browse Source

fix test connection bug

Pivotal 10 years ago
parent
commit
dc9c2773cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/plugins/datasource/opentsdb/datasource.js

+ 1 - 1
public/app/plugins/datasource/opentsdb/datasource.js

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