fix(mode): fix interval on mode status (#2814)

This commit is contained in:
Thibault S 2021-05-21 09:19:11 +02:00 committed by GitHub
parent 0eabdfe8a8
commit a4afbd1285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ sub check_options {
$self->{az_resource_type} = 'sites';
$self->{az_resource_namespace} = 'Microsoft.Web';
$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} : 'PT6H';
$self->{az_interval} = defined($self->{option_results}->{interval}) ? $self->{option_results}->{interval} : 'PT5M';
$self->{az_aggregations} = ['Average'];
if (defined($self->{option_results}->{aggregation})) {
$self->{az_aggregations} = [];