cleanup: use new run_cli_handler() method

This commit is contained in:
Dietmar Maurer 2015-10-02 11:28:01 +02:00
parent dca6ac1c02
commit 092fa1b0de
7 changed files with 7 additions and 7 deletions

View File

@ -5,4 +5,4 @@ use warnings;
use PVE::CLI::pveceph;
PVE::CLI::pveceph->run_cli();
PVE::CLI::pveceph->run_cli_handler();

View File

@ -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);

View File

@ -28,4 +28,4 @@ my $prepare = sub {
}
};
PVE::Service::pveproxy->run_cli(undef, undef, $prepare);
PVE::Service::pveproxy->run_cli_handler(prepare => $prepare);

View File

@ -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);

View File

@ -5,4 +5,4 @@ use warnings;
use PVE::CLI::pvesubscription;
PVE::CLI::pvesubscription->run_cli();
PVE::CLI::pvesubscription->run_cli_handler();

View File

@ -26,4 +26,4 @@ my $prepare = sub {
}
};
PVE::Service::spiceproxy->run_cli(undef, undef, $prepare);
PVE::Service::spiceproxy->run_cli_handler(prepare => $prepare);

View File

@ -5,4 +5,4 @@ use warnings;
use PVE::CLI::vzdump;
PVE::CLI::vzdump->run_cli();
PVE::CLI::vzdump->run_cli_handler();