Browse Source

Merge branch 'influx-db-query2' of https://github.com/ryantxu/grafana into influx-db-query2

ryan 8 years ago
parent
commit
e8ad7805d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/plugins/datasource/influxdb/datasource.ts

+ 1 - 1
public/app/plugins/datasource/influxdb/datasource.ts

@@ -85,7 +85,7 @@ export default class InfluxDatasource {
     // replace templated variables
     // replace templated variables
     allQueries = this.templateSrv.replace(allQueries, scopedVars);
     allQueries = this.templateSrv.replace(allQueries, scopedVars);
 
 
-    return this._seriesQuery(allQueries, options).then((data): any => {
+    return this._seriesQuery(allQueries, targets[0]).then((data): any => {
       if (!data || !data.results) {
       if (!data || !data.results) {
         return [];
         return [];
       }
       }