From d62a941a58b989452f765e7cc8289dc5aa2d44af Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 7 Dec 2011 16:55:32 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/fsp.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/fsp.pm b/xCAT-server/lib/xcat/plugins/fsp.pm index d2ecc93f2..bd7ef85d7 100644 --- a/xCAT-server/lib/xcat/plugins/fsp.pm +++ b/xCAT-server/lib/xcat/plugins/fsp.pm @@ -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"];