2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-22 22:15:30 +00:00

Merge pull request #2420 from jjohnson42/fixrinvdimm

Fix rinv support for dimm
This commit is contained in:
zet809
2017-01-19 16:20:26 +08:00
committed by GitHub

View File

@ -2566,6 +2566,9 @@ sub inv {
$sessdata->{skipfru} = 1; #full fru read is expensive, skip it
@types = qw(guid);
}
elsif ($subcommand eq "hw" or $subcommand eq "dimm" or $subcommand eq "misc") {
@types = ($subcommand);
}
else {
my $usage_string = xCAT::Usage->getUsage($command);
$callback->({ error => ["$usage_string"], errorcode => [1] });