Explorar o código

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

Torkel Ödegaard %!s(int64=10) %!d(string=hai) anos
pai
achega
2d722e26de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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' };
       });
     };