[pve-devel] [PATCH firewall 1/4] Use run_cli_handler instead of deprecated run_cli

Philip Abernethy p.abernethy at proxmox.com
Mon Oct 16 10:59:23 CEST 2017


---
 src/pve-firewall | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pve-firewall b/src/pve-firewall
index 0fbef27..601d638 100755
--- a/src/pve-firewall
+++ b/src/pve-firewall
@@ -22,4 +22,4 @@ my $prepare = sub {
     $rpcenv->set_user('root at pam');
 };
 
-PVE::Service::pve_firewall->run_cli(undef, undef, $prepare);
+PVE::Service::pve_firewall->run_cli_handler(prepare => $prepare);
-- 
2.11.0





More information about the pve-devel mailing list