api: fix typo reported by perlcritic

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fiona Ebner 2024-06-12 14:15:34 +02:00 committed by Thomas Lamprecht
parent 326b668718
commit e30435dc72

View File

@ -1590,7 +1590,7 @@ __PACKAGE__->register_method({
$item->{value} = $pending; $item->{value} = $pending;
$item->{pending} = $conf->{$opt}; $item->{pending} = $conf->{$opt};
} else { } else {
$item->{value} = $conf->{$opt}, $item->{value} = $conf->{$opt};
} }
push @$res, $item; push @$res, $item;