From 688e64e722cafe649bedc6f25e555b9364831bea Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 28 Nov 2011 17:31:13 +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/branches/2.6@11058 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'}; }