+ MIP label becomes alias in the latest API (#3023)

This commit is contained in:
Simon Bomm 2021-08-06 09:08:39 +02:00 committed by GitHub
parent bb4930dd27
commit c6d8821bb1
1 changed files with 2 additions and 2 deletions

View File

@ -262,8 +262,8 @@ sub manage_selection {
$self->{scenario}->{$scenario_name}->{global}->{status} = $entry->{results}->{$last_time}->{state}->{type};
foreach (keys %{$entry->{metricInfo}}) {
$self->{scenario}->{$scenario_name}->{metric}->{ $entry->{metricInfo}->{$_}->{label} } = {
display => $entry->{metricInfo}->{$_}->{label},
$self->{scenario}->{$scenario_name}->{metric}->{ $entry->{metricInfo}->{$_}->{alias} } = {
display => $entry->{metricInfo}->{$_}->{alias},
unit => $entry->{metricInfo}->{$_}->{unit},
value => $entry->{results}->{$last_time}->{metrics}->{$_}
};