Commit 76281be8 authored by Dietmar Maurer's avatar Dietmar Maurer

cleanup: use new run_cli_handler() method

parent 4a21f837
......@@ -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();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment