fix(mode): fix interval on mode status (#2814)
This commit is contained in:
parent
0eabdfe8a8
commit
a4afbd1285
|
@ -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} = [];
|
||||
|
|
Loading…
Reference in New Issue