Quote timeseries names to be able to have special character such as @ in a seriename.

This commit is contained in:
Stefan Majer 2014-05-06 08:42:49 +02:00
parent c1266abb98
commit c9df61c43c

View File

@ -93,7 +93,7 @@ function (angular, _, kbn) {
};
InfluxDatasource.prototype.listColumns = function(seriesName) {
return this.doInfluxRequest('select * from ' + seriesName + ' limit 1').then(function(data) {
return this.doInfluxRequest('select * from "' + seriesName + '" limit 1').then(function(data) {
if (!data) {
return [];
}