fix bugs 3389970
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10269 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4147b86bef
commit
74bd07228a
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user