fix gcp get-metrics mode

This commit is contained in:
garnier-quentin 2021-02-04 16:27:39 +01:00
parent db7d4d8dd1
commit ca0234bb0e
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ sub check_options {
}
$self->{gcp_aggregations} = ['average'];
if (scalar(@$aggregations) > 0) {
$self->{gcp_aggregations} = @$aggregations;
$self->{gcp_aggregations} = $aggregations;
}
}