From 553141df61b72d2fd9d9f7f20f5d25c44c7f9c3c Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 28 Nov 2011 17:35:50 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/DBobjUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/DBobjUtils.pm b/perl-xCAT/xCAT/DBobjUtils.pm index bc9efaf9f..b1ece09cd 100644 --- a/perl-xCAT/xCAT/DBobjUtils.pm +++ b/perl-xCAT/xCAT/DBobjUtils.pm @@ -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'}; }