소스 검색

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

Torkel Ödegaard 10 년 전
부모
커밋
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' };
       });
     };