From 9e58da04bbe5e5831f5a8575ccad0156be6726d6 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Thu, 11 Aug 2011 10:48:37 +0000 Subject: [PATCH] fix bugs 3389970, rpower give fsp plugin bug message git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@10270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/PPC.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index ccede8c73..09937366a 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -2064,7 +2064,10 @@ sub process_request { #my $thishcp_type = xCAT::FSPUtils->getTypeOfNode($thishcp,$callback); my $thishcp_type = xCAT::DBobjUtils->getnodetype($thishcp); if(!defined($thishcp_type)) { - $request = {}; + $output{node}->[0]->{name} = [$node]; + $output{node}->[0]->{data} = ["the $node\'s hcp type is not defined in the 'ppc' table."]; + $output{errorcode} = '1'; + $callback-> (\%output); next; } #print "lasthcp_type:$lasthcp_type ;thishcp_type:$thishcp_type\n";