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:
parent
6f32aedf58
commit
79d0e97c8e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user