FSP/BPA redundancy: modify the hidden attribute according to the design

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2011-01-13 03:20:07 +00:00
parent 6f32aedf58
commit 79d0e97c8e

View File

@ -156,9 +156,9 @@ sub add_ppc {
###########################
updategroups( $name, $db{nodelist}, $type );
if ( $type =~ /^(fsp|bpa)$/ ) {
$db{nodelist}->setNodeAttribs( $name, {hidden => '0'});
} else {
$db{nodelist}->setNodeAttribs( $name, {hidden => '1'});
} else {
$db{nodelist}->setNodeAttribs( $name, {hidden => '0'});
}
$db{nodelist}{commit} = 1;