[pve-devel] [PATCH] check for valid config changes
Stefan Priebe
s.priebe at profihost.ag
Tue Feb 25 19:23:17 CET 2014
Am 25.02.2014 16:48, schrieb Dietmar Maurer:
>> - foreach my $opt (keys %$param) { # add/change
>> + my $conf_param = { %$param, map {$_ => undef} @delete };
>
> I guess you need to process @delete parameters first? Or maybe we should check
> that we do net set both (param value and delete)?
my idea was that delete is more important than param so @delete params
overwrite param.
Can it happen that we have both?
Stefan
More information about the pve-devel
mailing list