From 74bd07228ad1a48d1997dfcb783f61538d403850 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Thu, 11 Aug 2011 10:44:38 +0000 Subject: [PATCH] fix bugs 3389970 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10269 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/PPC.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index ccede8c73..e054674f0 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -2065,6 +2065,10 @@ sub process_request { 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";