From 2fb15fdecb6777299eee603d1156c07b4c105ef0 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Tue, 8 May 2012 04:40:56 +0000 Subject: [PATCH] fix bug 3524452: rcons to P7 IH LPAR getting Console not ready error git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12558 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/fsp.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/fsp.pm b/xCAT-server/lib/xcat/plugins/fsp.pm index 605da02a2..b6bb00010 100644 --- a/xCAT-server/lib/xcat/plugins/fsp.pm +++ b/xCAT-server/lib/xcat/plugins/fsp.pm @@ -250,10 +250,10 @@ sub getfspcon { my $fsp_name = $att->{hcp}; my $id = $att->{id}; - my $request; - xCAT::FSPUtils::getHcpAttribs($request, \%tabs); + my %request; + xCAT::FSPUtils::getHcpAttribs(\%request, \%tabs); #my $fsp_ip = xCAT::Utils::getNodeIPaddress( $fsp_name ); - my $fsp_ip = xCAT::FSPUtils::getIPaddress($request, $type, $fsp_name ); + my $fsp_ip = xCAT::FSPUtils::getIPaddress(\%request, $type, $fsp_name ); if(!defined($fsp_ip)) { #return "Failed to get the $fsp_name\'s ip"; $rsp->{node}->[0]->{error}=["Can't get node address"];