fix bugs 3389970, not define 'output'

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@10279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao
2011-08-12 08:16:41 +00:00
parent ccf2f55f83
commit 08d6ccb1e4
+2 -1
View File
@@ -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;