change getAttribs to getNodeAttribs, the code does not handle regx in the PPC table

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11165 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2011-12-07 16:55:32 +00:00
parent 69b4010cd4
commit d62a941a58

View File

@ -125,7 +125,7 @@ sub getfspcon {
#################################
# Get attributes
#################################
my ($att) = $tabs{ppc}->getAttribs({'node'=>$node}, @attribs );
my ($att) = $tabs{ppc}->getNodeAttribs($node, @attribs );
if ( !defined( $att )) {
#return( sprintf( $errmsg{NODE_UNDEF}, "ppc" ));
@ -206,7 +206,7 @@ sub getmulcon {
#################################
# Get attributes
#################################
my ($att) = $tabs{ppc}->getAttribs({'node'=>$node}, @attribs );
my ($att) = $tabs{ppc}->getNodeAttribs($node, @attribs );
if ( !defined( $att )) {
$rsp->{node}->[0]->{error}=["Node is not defined in ppc table"];