fix nodeimport message problem
This commit is contained in:
parent
81760673e3
commit
bf0c433a8e
@ -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{$_}}){
|
||||
|
Loading…
Reference in New Issue
Block a user