Просмотр исходного кода

fix(cloudwatch): fixed test datasource, broken due to some function name changes

Torkel Ödegaard 10 лет назад
Родитель
Сommit
2d722e26de
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      public/app/plugins/datasource/cloudwatch/datasource.js

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

@@ -223,7 +223,7 @@ function (angular, _) {
       var metricName = 'EstimatedCharges';
       var dimensions = {};
 
-      return this.performSuggestDimensionValues(region, namespace, metricName, dimensions).then(function () {
+      return this.getDimensionValues(region, namespace, metricName, dimensions).then(function () {
         return { status: 'success', message: 'Data source is working', title: 'Success' };
       });
     };