Pārlūkot izejas kodu

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

Torkel Ödegaard 10 gadi atpakaļ
vecāks
revīzija
2d722e26de

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

@@ -223,7 +223,7 @@ function (angular, _) {
       var metricName = 'EstimatedCharges';
       var metricName = 'EstimatedCharges';
       var dimensions = {};
       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' };
         return { status: 'success', message: 'Data source is working', title: 'Success' };
       });
       });
     };
     };