Cannot find physical memory informations fix #994 (#1000)

This commit is contained in:
moix 2018-06-06 17:42:18 +02:00 committed by Simon Bomm
parent 942bed570d
commit 374e4faccf
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ sub manage_selection {
foreach my $key (keys %$result) {
next if ($key !~ /\.([0-9]+)$/);
my $oid = $1;
if ($result->{$key} =~ /^Physical memory$/i) {
if ($result->{$key} =~ /^Physical (memory|RAM)$/i) {
$self->{physical_memory_id} = $oid;
}
}