Change call to getAllNodeAttribs to support reg expression in nodetype table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
907af9b798
commit
553141df61
@ -2223,7 +2223,7 @@ sub getnodetype
|
||||
my $type;
|
||||
if ( $nodes =~ /^ARRAY/) {
|
||||
if (!%NODETYPEHASH) {
|
||||
my @nodetypes = $nodetypetab->getAllAttribs('node','nodetype');
|
||||
my @nodetypes = $nodetypetab->getAllNodeAttribs(['node','nodetype']);
|
||||
foreach my $tn (@nodetypes) {
|
||||
$NODETYPEHASH{ $tn->{'node'} } = $tn->{'nodetype'};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user