From 092fa1b0de24a0855f23370a40462ceec88d5d37 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 2 Oct 2015 11:28:01 +0200 Subject: [PATCH] cleanup: use new run_cli_handler() method --- bin/pveceph | 2 +- bin/pvedaemon | 2 +- bin/pveproxy | 2 +- bin/pvestatd | 2 +- bin/pvesubscription | 2 +- bin/spiceproxy | 2 +- bin/vzdump | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/pveceph b/bin/pveceph index 12f3efff..b7193f7f 100755 --- a/bin/pveceph +++ b/bin/pveceph @@ -5,4 +5,4 @@ use warnings; use PVE::CLI::pveceph; -PVE::CLI::pveceph->run_cli(); +PVE::CLI::pveceph->run_cli_handler(); diff --git a/bin/pvedaemon b/bin/pvedaemon index bd71ed05..ffccb34f 100755 --- a/bin/pvedaemon +++ b/bin/pvedaemon @@ -24,4 +24,4 @@ my $prepare = sub { mkdir "/var/run/dtach"; }; -PVE::Service::pvedaemon->run_cli(undef, undef, $prepare); +PVE::Service::pvedaemon->run_cli_handler(prepare => $prepare); diff --git a/bin/pveproxy b/bin/pveproxy index b116d11a..20e8f2ab 100755 --- a/bin/pveproxy +++ b/bin/pveproxy @@ -28,4 +28,4 @@ my $prepare = sub { } }; -PVE::Service::pveproxy->run_cli(undef, undef, $prepare); +PVE::Service::pveproxy->run_cli_handler(prepare => $prepare); diff --git a/bin/pvestatd b/bin/pvestatd index dff61de2..c42f4ff8 100755 --- a/bin/pvestatd +++ b/bin/pvestatd @@ -15,4 +15,4 @@ my $prepare = sub { $rpcenv->set_user('root@pam'); }; -PVE::Service::pvestatd->run_cli(undef, undef, $prepare); +PVE::Service::pvestatd->run_cli_handler(prepare => $prepare); diff --git a/bin/pvesubscription b/bin/pvesubscription index 75772cc5..971f5a42 100755 --- a/bin/pvesubscription +++ b/bin/pvesubscription @@ -5,4 +5,4 @@ use warnings; use PVE::CLI::pvesubscription; -PVE::CLI::pvesubscription->run_cli(); +PVE::CLI::pvesubscription->run_cli_handler(); diff --git a/bin/spiceproxy b/bin/spiceproxy index 353ac9a6..ba7530c0 100755 --- a/bin/spiceproxy +++ b/bin/spiceproxy @@ -26,4 +26,4 @@ my $prepare = sub { } }; -PVE::Service::spiceproxy->run_cli(undef, undef, $prepare); +PVE::Service::spiceproxy->run_cli_handler(prepare => $prepare); diff --git a/bin/vzdump b/bin/vzdump index e4bfc472..75113871 100755 --- a/bin/vzdump +++ b/bin/vzdump @@ -5,4 +5,4 @@ use warnings; use PVE::CLI::vzdump; -PVE::CLI::vzdump->run_cli(); +PVE::CLI::vzdump->run_cli_handler();