From 1e6d998a9cb581a4b89d3f14d42213c9c1ae5619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 3 Mar 2014 06:53:50 +0100 Subject: [PATCH] fixed path to influxdb editor, #103 --- src/app/services/influxdb/influxdbDatasource.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/app/services/influxdb/influxdbDatasource.js b/src/app/services/influxdb/influxdbDatasource.js index 765f0ef5f4e..19797333f2a 100644 --- a/src/app/services/influxdb/influxdbDatasource.js +++ b/src/app/services/influxdb/influxdbDatasource.js @@ -12,7 +12,7 @@ function (angular, _, kbn) { function InfluxDatasource(datasource) { this.type = 'influxDB'; - this.editorSrc = 'app/partials/influxDB/editor.html'; + this.editorSrc = 'app/partials/influxdb/editor.html'; this.url = datasource.url; this.username = datasource.username; this.password = datasource.password; @@ -54,18 +54,6 @@ function (angular, _, kbn) { }; - InfluxDatasource.prototype.listSeries = function() { - return this.doInfluxRequest('list series').then(function(results) { - if (!results.data) { - return []; - } - - return _.map(results.data, function(series) { - return series.name; - }); - }); - }; - InfluxDatasource.prototype.doInfluxRequest = function(query) { var params = { u: this.username,