From 79d0e97c8e6630a5afc55b36b352e16e86c5afe0 Mon Sep 17 00:00:00 2001 From: yinle Date: Thu, 13 Jan 2011 03:20:07 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/PPCdb.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/PPCdb.pm b/perl-xCAT/xCAT/PPCdb.pm index f64e18a42..2247f5b93 100644 --- a/perl-xCAT/xCAT/PPCdb.pm +++ b/perl-xCAT/xCAT/PPCdb.pm @@ -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;