Browse Source

fix typo in parameter. (#10613)

* options.scopedVars was called without 'd', so a undefined was passed
  to the function convertDimensionFormat()
hannes 8 years ago
parent
commit
eefcb3080a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/plugins/datasource/cloudwatch/datasource.ts

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

@@ -36,7 +36,7 @@ export default class CloudWatchDatasource {
       item.region = this.templateSrv.replace(this.getActualRegion(item.region), options.scopedVars);
       item.namespace = this.templateSrv.replace(item.namespace, options.scopedVars);
       item.metricName = this.templateSrv.replace(item.metricName, options.scopedVars);
-      item.dimensions = this.convertDimensionFormat(item.dimensions, options.scopeVars);
+      item.dimensions = this.convertDimensionFormat(item.dimensions, options.scopedVars);
       item.period = String(this.getPeriod(item, options)); // use string format for period in graph query, and alerting
 
       return _.extend(