mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
Fix issue 4135, the syntax error of openbmc.pm
This commit is contained in:
parent
6e19ac5dc6
commit
a17e5773d2
@ -1101,7 +1101,7 @@ sub get_functional_software_ids {
|
||||
#
|
||||
if (${ $response->{data} }{'/xyz/openbmc_project/software/functional'} ) {
|
||||
my %func_data = %{ ${ $response->{data} }{'/xyz/openbmc_project/software/functional'} };
|
||||
foreach my $fw_idx (keys $func_data{endpoints}) {
|
||||
foreach my $fw_idx (keys %{ $func_data{endpoints} }) {
|
||||
my $fw_id = (split(/\//, $func_data{endpoints}[$fw_idx]))[-1];
|
||||
$functional{$fw_id} = 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user