+ MIP label becomes alias in the latest API (#3023)
This commit is contained in:
parent
bb4930dd27
commit
c6d8821bb1
|
@ -262,8 +262,8 @@ sub manage_selection {
|
||||||
$self->{scenario}->{$scenario_name}->{global}->{status} = $entry->{results}->{$last_time}->{state}->{type};
|
$self->{scenario}->{$scenario_name}->{global}->{status} = $entry->{results}->{$last_time}->{state}->{type};
|
||||||
|
|
||||||
foreach (keys %{$entry->{metricInfo}}) {
|
foreach (keys %{$entry->{metricInfo}}) {
|
||||||
$self->{scenario}->{$scenario_name}->{metric}->{ $entry->{metricInfo}->{$_}->{label} } = {
|
$self->{scenario}->{$scenario_name}->{metric}->{ $entry->{metricInfo}->{$_}->{alias} } = {
|
||||||
display => $entry->{metricInfo}->{$_}->{label},
|
display => $entry->{metricInfo}->{$_}->{alias},
|
||||||
unit => $entry->{metricInfo}->{$_}->{unit},
|
unit => $entry->{metricInfo}->{$_}->{unit},
|
||||||
value => $entry->{results}->{$last_time}->{metrics}->{$_}
|
value => $entry->{results}->{$last_time}->{metrics}->{$_}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue