From 260b7d25eff7f61c1144fc815bdb5af521a1fe9c Mon Sep 17 00:00:00 2001 From: jjhua Date: Wed, 23 May 2012 06:37:49 +0000 Subject: [PATCH] For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/toolscenter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/toolscenter.pm b/xCAT-server/lib/xcat/plugins/toolscenter.pm index bb7c0dfa9..071fd50e9 100644 --- a/xCAT-server/lib/xcat/plugins/toolscenter.pm +++ b/xCAT-server/lib/xcat/plugins/toolscenter.pm @@ -64,7 +64,7 @@ sub preprocess_request #my $stab = xCAT::Table->new('site'); #my $sent; #($sent) = $stab->getAttribs({key => 'sharedtftp'}, 'value'); - my @entries = xCAT::Utils->get_site_attribute("defserialport"); + my @entries = xCAT::Utils->get_site_attribute("sharedtftp"); my $t_entry = $entries[0]; unless ( defined($t_entry) and ($t_entry =~ /no/i or $t_entry =~ /0/))