mirror of
https://git.proxmox.com/git/pve-guest-common
synced 2025-07-27 09:13:39 +00:00
unbreak config_with_pending_array
which lead to current and pending/delete values being returned
separately, and being misinterpreted by the web interface (and probably
other clients as well).
Fixes: daf8fca57a
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
fb53d1087e
commit
301b375bab
@ -220,7 +220,7 @@ sub config_with_pending_array {
|
||||
key => $opt,
|
||||
value => $conf->{$opt},
|
||||
};
|
||||
$item->{pending} = delete $pending->{$opt} if defined($conf->{pending}->{$opt});
|
||||
$item->{pending} = delete $pending->{$opt} if defined($pending->{$opt});
|
||||
my $delete = delete $pending_delete_hash->{$opt};
|
||||
$item->{delete} = $delete->{force} ? 2 : 1 if defined($delete);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user