Fixed issue with influxdb, broken in recent commit today
This commit is contained in:
@@ -16,7 +16,9 @@ function (angular, _, kbn, InfluxSeries, InfluxQueryBuilder) {
|
|||||||
|
|
||||||
function InfluxDatasource(datasource) {
|
function InfluxDatasource(datasource) {
|
||||||
this.type = 'influxdb';
|
this.type = 'influxdb';
|
||||||
this.urls = datasource.urls;
|
this.urls = _.map(datasource.url.split(','), function(url) {
|
||||||
|
return url.trim();
|
||||||
|
});
|
||||||
this.username = datasource.username;
|
this.username = datasource.username;
|
||||||
this.password = datasource.password;
|
this.password = datasource.password;
|
||||||
this.name = datasource.name;
|
this.name = datasource.name;
|
||||||
|
|||||||
Reference in New Issue
Block a user