diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index 09937366a..acef972ca 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -2064,8 +2064,9 @@ sub process_request { #my $thishcp_type = xCAT::FSPUtils->getTypeOfNode($thishcp,$callback); my $thishcp_type = xCAT::DBobjUtils->getnodetype($thishcp); if(!defined($thishcp_type)) { + my %output = (); $output{node}->[0]->{name} = [$node]; - $output{node}->[0]->{data} = ["the $node\'s hcp type is not defined in the 'ppc' table."]; + $output{node}->[0]->{data} = ["the type of $node\'s hcp is not defined in the 'ppc' table."]; $output{errorcode} = '1'; $callback-> (\%output); next;