minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d3e172bd03
commit
deccf212ee
@ -2296,8 +2296,7 @@ sub getnodetype
|
||||
# query table and use the global hash first
|
||||
############################################
|
||||
if ( $NODETYPEHASH{$nodes} ) {
|
||||
$typehash{$nodes} = $NODETYPEHASH{$nodes};
|
||||
return \%typehash;
|
||||
return $NODETYPEHASH{$nodes};
|
||||
} else {
|
||||
my $typep = $nodetypetab->getNodeAttribs($nodes, ['nodetype']);
|
||||
if ( $typep->{nodetype} ) {
|
||||
|
Loading…
Reference in New Issue
Block a user