Check specified AWS Region and not us-east-1

This commit is contained in:
utkarshcmu
2015-11-09 03:35:51 -08:00
parent 56e2082205
commit 9f066d01b1

View File

@@ -216,7 +216,7 @@ function (angular, _) {
CloudWatchDatasource.prototype.testDatasource = function() {
/* use billing metrics for test */
var region = 'us-east-1';
var region = this.defaultRegion;
var namespace = 'AWS/Billing';
var metricName = 'EstimatedCharges';
var dimensions = {};