FSP/BPA redundancy: minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6a25a62406
commit
b05dc625a2
@ -1773,7 +1773,7 @@ sub process_request {
|
||||
}
|
||||
#print "lasthcp_type:$lasthcp_type ;thishcp_type:$thishcp_type\n";
|
||||
if(defined($lasthcp_type)) {
|
||||
if ( ($lasthcp_type =~ /^(hmc)$/ && $thishcp_type =~ /^(fsp|bpa)$/) or (($lasthcp_type =~ /^(fsp|bpa)$/ ) && ($thishcp_type =~ /^(hmc)$/ )) ) {
|
||||
if ( ($lasthcp_type =~ /^(hmc)$/ && $thishcp_type =~ /^(fsp|bpa|cec)$/) or (($lasthcp_type =~ /^(fsp|bpa|cec)$/ ) && ($thishcp_type =~ /^(hmc)$/ )) ) {
|
||||
$callback->({data=>["the $node\'s hcp type is different from the other's in the specified noderange in the 'ppc' table."]});
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user