浏览代码

fix(): fixed problems in last commit

Torkel Ödegaard 10 年之前
父节点
当前提交
5beced458c
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      CHANGELOG.md
  2. 1 1
      public/app/plugins/datasource/influxdb/influxSeries.js

+ 1 - 1
CHANGELOG.md

@@ -26,7 +26,7 @@ it allows you to add queries of differnet data source types & instances to the s
 - [Issue #2564](https://github.com/grafana/grafana/issues/2564). Templating: Another atempt at fixing #2534 (Init multi value template var used in repeat panel from url)
 - [Issue #2620](https://github.com/grafana/grafana/issues/2620). Graph: multi series tooltip did no highlight correct point when stacking was enabled and series were of different resolution
 - [Issue #2636](https://github.com/grafana/grafana/issues/2636). InfluxDB: Do no show template vars in dropdown for tag keys and group by keys
-- [Issue #2599](https://github.com/grafana/grafana/issues/2599). InfluxDB: More alias options, can now use `$[0-9]` syntax to reference part of a measurement name (seperated by dots)
+- [Issue #2604](https://github.com/grafana/grafana/issues/2604). InfluxDB: More alias options, can now use `$[0-9]` syntax to reference part of a measurement name (seperated by dots)
 
 **Breaking Changes**
 - Notice to makers/users of custom data sources, there is a minor breaking change in 2.2 that

+ 1 - 1
public/app/plugins/datasource/influxdb/influxSeries.js

@@ -60,7 +60,7 @@ function (_) {
 
     return this.alias.replace(regex, function(match, g1, g2) {
       var group = g1 || g2;
-      var segIndex = parseInt(group, 10)
+      var segIndex = parseInt(group, 10);
 
       if (group === 'm' || group === 'measurement') { return series.name; }
       if (group === 'col') { return series.columns[index]; }