mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 17:46:38 +00:00
Merge pull request #2420 from jjohnson42/fixrinvdimm
Fix rinv support for dimm
This commit is contained in:
commit
c6c5a0f36d
@ -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] });
|
||||
|
Loading…
x
Reference in New Issue
Block a user