Don't reject conf with old parameters (Closes: #1048)
This commit is contained in:
parent
4b8b5b7606
commit
41e2be351f
|
@ -912,7 +912,11 @@ sub _unitTest {
|
|||
hdebug("Testing $key");
|
||||
my $attr = $attrs->{$key};
|
||||
my $type = $types->{ $attr->{type} };
|
||||
die "Unkown type $attr->{type}" unless ( $type or $attr->{test} );
|
||||
unless ( $type or $attr->{test} ) {
|
||||
print STDERR "Unknown attribute $key, deleting it\n";
|
||||
delete $conf->{$key};
|
||||
next;
|
||||
}
|
||||
|
||||
if ( $attr->{type} and $attr->{type} eq 'subContainer' ) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user