cleanup: use new run_cli_handler() method
This commit is contained in:
parent
dca6ac1c02
commit
092fa1b0de
@ -5,4 +5,4 @@ use warnings;
|
||||
|
||||
use PVE::CLI::pveceph;
|
||||
|
||||
PVE::CLI::pveceph->run_cli();
|
||||
PVE::CLI::pveceph->run_cli_handler();
|
||||
|
@ -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);
|
||||
|
@ -28,4 +28,4 @@ my $prepare = sub {
|
||||
}
|
||||
};
|
||||
|
||||
PVE::Service::pveproxy->run_cli(undef, undef, $prepare);
|
||||
PVE::Service::pveproxy->run_cli_handler(prepare => $prepare);
|
||||
|
@ -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);
|
||||
|
@ -5,4 +5,4 @@ use warnings;
|
||||
|
||||
use PVE::CLI::pvesubscription;
|
||||
|
||||
PVE::CLI::pvesubscription->run_cli();
|
||||
PVE::CLI::pvesubscription->run_cli_handler();
|
||||
|
@ -26,4 +26,4 @@ my $prepare = sub {
|
||||
}
|
||||
};
|
||||
|
||||
PVE::Service::spiceproxy->run_cli(undef, undef, $prepare);
|
||||
PVE::Service::spiceproxy->run_cli_handler(prepare => $prepare);
|
||||
|
@ -5,4 +5,4 @@ use warnings;
|
||||
|
||||
use PVE::CLI::vzdump;
|
||||
|
||||
PVE::CLI::vzdump->run_cli();
|
||||
PVE::CLI::vzdump->run_cli_handler();
|
||||
|
Loading…
x
Reference in New Issue
Block a user