Selaa lähdekoodia

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

Stefan Majer 11 vuotta sitten
vanhempi
commit
c9df61c43c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/app/services/influxdb/influxdbDatasource.js

+ 1 - 1
src/app/services/influxdb/influxdbDatasource.js

@@ -93,7 +93,7 @@ function (angular, _, kbn) {
     };
     };
 
 
     InfluxDatasource.prototype.listColumns = function(seriesName) {
     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) {
         if (!data) {
           return [];
           return [];
         }
         }