From: Philip Abernethy Date: Mon, 16 Oct 2017 08:59:23 +0000 (+0200) Subject: Use run_cli_handler instead of deprecated run_cli X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff_plain;h=02ecc1827e094ab86f643ed236d956ccc8c0b219;hp=dc4b58b5c626d71e789ab6d21cc1ae68417c6efa Use run_cli_handler instead of deprecated run_cli --- diff --git a/src/pve-firewall b/src/pve-firewall index 0fbef27..5b62430 100755 --- a/src/pve-firewall +++ b/src/pve-firewall @@ -22,4 +22,4 @@ my $prepare = sub { $rpcenv->set_user('root@pam'); }; -PVE::Service::pve_firewall->run_cli(undef, undef, $prepare); +PVE::Service::pve_firewall->run_cli_handler(prepare => $prepare);