fix nodeimport message problem

This commit is contained in:
Jia Zhao 2013-10-10 15:21:41 +08:00
parent 61f8b6a75d
commit ce8e4176cc

View File

@ -2120,7 +2120,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{$_}}){