mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-06 00:36:52 +00:00
pending api : fix parsing 0 value
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
8fe689e7fd
commit
0e54e1c8bd
@ -770,7 +770,7 @@ __PACKAGE__->register_method({
|
||||
foreach my $opt (keys $conf->{pending}) {
|
||||
next if $opt eq 'delete';
|
||||
next if ref($conf->{pending}->{$opt}); # just to be sure
|
||||
next if $conf->{$opt};
|
||||
next if defined($conf->{$opt});
|
||||
my $item = { key => $opt };
|
||||
$item->{pending} = $conf->{pending}->{$opt};
|
||||
push @$res, $item;
|
||||
|
Loading…
Reference in New Issue
Block a user