Fix bug 3521914: fsp plugin bug at PPCenergy.pm line 182 with renergy on p7ih

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12436 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2012-05-02 02:35:27 +00:00
parent bf88e7052f
commit e48bc39c2b

View File

@ -179,8 +179,8 @@ sub parse_args {
my $nodetyperef = xCAT::DBobjUtils->getnodetype($nodes, "ppc");
my $i = 0;
foreach my $node (@{$nodes}) {
if (@$nodetyperef[$i] ne 'fsp' &&
@$nodetyperef[$i] ne 'cec') {
if ($$nodetyperef{$node} ne 'fsp' &&
$$nodetyperef{$node} ne 'cec') {
push @notfspnodes, $node;
}
$i++;