Fix bug 3496026:Poor lsvm error msg when hwtype not set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
8962b5b7ce
commit
893cf3f594
@ -2269,8 +2269,8 @@ sub getnodetype
|
||||
my $nodetypes = $nodetypetab->getNodesAttribs(\@failnodes, ['nodetype']);
|
||||
foreach my $tn ( @failnodes ) {
|
||||
if ( $nodetypes->{$tn}->[0] ) {
|
||||
$NODETYPEHASH{$tn} = $nodetypes->{$tn}->[0];
|
||||
$typehash{$tn} = $nodetypes->{$tn}->[0];
|
||||
$NODETYPEHASH{$tn} = $nodetypes->{$tn}->[0]->{'nodetype'};
|
||||
$typehash{$tn} = $nodetypes->{$tn}->[0]->{'nodetype'};
|
||||
} else {
|
||||
push @failnodes1, $tn;
|
||||
$typehash{$tn} = undef;
|
||||
|
Loading…
Reference in New Issue
Block a user