Update storage.pm
This commit is contained in:
parent
12eb26f7c5
commit
b2159b0a9e
|
@ -126,7 +126,7 @@ sub check_options {
|
|||
$self->{az_resource_type} = $resource_type;
|
||||
$self->{az_resource_namespace} = 'Microsoft.DBforMySQL';
|
||||
$self->{az_timeframe} = defined($self->{option_results}->{timeframe}) ? $self->{option_results}->{timeframe} : 900;
|
||||
$self->{az_interval} = defined($self->{option_results}->{interval}) ? $self->{option_results}->{interval} : 'PT5M';
|
||||
$self->{az_interval} = defined($self->{option_results}->{interval}) ? $self->{option_results}->{interval} : 'PT15M';
|
||||
$self->{az_aggregations} = ['Maximum'];
|
||||
if (defined($self->{option_results}->{aggregation})) {
|
||||
$self->{az_aggregations} = [];
|
||||
|
@ -146,7 +146,7 @@ sub check_options {
|
|||
|
||||
my $metrics_mapping_transformed;
|
||||
foreach my $metric_type (@{$resource_mapping->{$resource_type}}) {
|
||||
$metrics_mapping_transformed->{$metric_type} = $self->{resource_mapping}->{$metric_type};
|
||||
$self->{metrics_mapping_transformed}->{$metric_type} = $self->{metrics_mapping}->{$metric_type};
|
||||
}
|
||||
|
||||
foreach my $metric (keys %{$self->{metrics_mapping_transformed}}) {
|
||||
|
|
Loading…
Reference in New Issue