Bug 34587: Add a report row for each existing metric_type in a sushi result's performance instance, instead of for reach existing metric_type in the sushi response header, because that might not exist.

Signed-off-by: Jessica Zairo <jzairo@bywatersolutions.com>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Pedro Amorim 2023-08-07 14:14:40 +00:00 committed by Tomas Cohen Arazi
parent ffa16245d3
commit 3318adf48d
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -616,9 +616,6 @@ sub _COUNTER_report_body {
my $header = $self->{sushi}->{header};
my $body = $self->{sushi}->{body};
my @metric_types_string = $self->_get_SUSHI_Name_Value( $header->{Report_Filters}, "Metric_Type" );
my @metric_types = split( /\|/, $metric_types_string[0] );
my @report_body = ();
my $total_records = 0;