2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-01 09:07:36 +00:00

fix nodeimport message problem

This commit is contained in:
Jia Zhao
2013-10-10 15:26:29 +08:00
parent b7701969ed
commit 6a3bdba935

View File

@@ -2105,7 +2105,7 @@ sub validate_node_entry{
$errmsg .= "Specified rack cannot be used with chassis.\n";
} elsif (exists $node_entry{"height"} and exists $node_entry{"unit"}){
} else {
$errmsg .= "Specified rack must also specify the chassis or the height and unit.\n";
$errmsg .= "Specified rack must also specify the height and unit.\n";
}
}elsif ($_ eq "chassis"){
if (! exists $allchassis{$node_entry{$_}}){