Change call to getAllNodeAttribs to support reg expression in nodetype table

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@11058 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav
2011-11-28 17:31:13 +00:00
parent 505a0aae73
commit 688e64e722
+1 -1
View File
@@ -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'};
}