mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed issue with influxdb, broken in recent commit today
This commit is contained in:
parent
978b12b0dc
commit
0d165e67c9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user