Commit 7180d6aa by Torkel Ödegaard

Merge pull request #4504 from sebito91/master

Issue with templating latest InfluxDB v0.11.0, force query to lowercase
parents 9d6445d4 aa62c2ef
......@@ -15,7 +15,7 @@ export default class ResponseParser {
var series = influxResults.series[0];
return _.map(series.values, (value) => {
if (_.isArray(value)) {
if (query.indexOf('SHOW TAG VALUES') >= 0) {
if (query.toLowerCase().indexOf('show tag values') >= 0) {
return { text: (value[1] || value[0]) };
} else {
return { text: value[0] };
......
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