fix #211459 wrong message while import node

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
creativezj 2013-01-22 01:56:13 +00:00
parent c0f35a2de4
commit ca303919a3

View File

@ -1603,7 +1603,7 @@ sub validate_node_entry{
# Check if this chassis is CMM. If it is, must specify slotid
if (exists $allcmmchassis{$node_entry{$_}}){
if (not exists $node_entry{"slotid"}){
$errmsg .= "Specified CMM Chassis must be used with sloid";
$errmsg .= "Specified CMM Chassis must be used with slotid";
}
}else {
# If the specific chassis is not CMM chassis, but network is fsp