Commit 0d165e67 by Torkel Ödegaard

Fixed issue with influxdb, broken in recent commit today

parent 978b12b0
......@@ -16,7 +16,9 @@ function (angular, _, kbn, InfluxSeries, InfluxQueryBuilder) {
function InfluxDatasource(datasource) {
this.type = 'influxdb';
this.urls = datasource.urls;
this.urls = _.map(datasource.url.split(','), function(url) {
return url.trim();
});
this.username = datasource.username;
this.password = datasource.password;
this.name = datasource.name;
......
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