mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-15 06:14:38 +00:00
Daemon: remove useless parameter
This commit is contained in:
parent
7db2b94082
commit
da1a7f5889
@ -561,7 +561,9 @@ sub stop {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub register_start_command {
|
sub register_start_command {
|
||||||
my ($self, $class, $description) = @_;
|
my ($self, $description) = @_;
|
||||||
|
|
||||||
|
my $class = ref($self);
|
||||||
|
|
||||||
$class->register_method({
|
$class->register_method({
|
||||||
name => 'start',
|
name => 'start',
|
||||||
@ -612,7 +614,9 @@ my $reload_daemon = sub {
|
|||||||
};
|
};
|
||||||
|
|
||||||
sub register_restart_command {
|
sub register_restart_command {
|
||||||
my ($self, $class, $use_hup, $description) = @_;
|
my ($self, $use_hup, $description) = @_;
|
||||||
|
|
||||||
|
my $class = ref($self);
|
||||||
|
|
||||||
$class->register_method({
|
$class->register_method({
|
||||||
name => 'restart',
|
name => 'restart',
|
||||||
@ -635,7 +639,9 @@ sub register_restart_command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub register_reload_command {
|
sub register_reload_command {
|
||||||
my ($self, $class, $description) = @_;
|
my ($self, $description) = @_;
|
||||||
|
|
||||||
|
my $class = ref($self);
|
||||||
|
|
||||||
$class->register_method({
|
$class->register_method({
|
||||||
name => 'reload',
|
name => 'reload',
|
||||||
@ -658,7 +664,9 @@ sub register_reload_command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub register_stop_command {
|
sub register_stop_command {
|
||||||
my ($self, $class, $description) = @_;
|
my ($self, $description) = @_;
|
||||||
|
|
||||||
|
my $class = ref($self);
|
||||||
|
|
||||||
$class->register_method({
|
$class->register_method({
|
||||||
name => 'stop',
|
name => 'stop',
|
||||||
@ -681,7 +689,9 @@ sub register_stop_command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub register_status_command {
|
sub register_status_command {
|
||||||
my ($self, $class, $description) = @_;
|
my ($self, $description) = @_;
|
||||||
|
|
||||||
|
my $class = ref($self);
|
||||||
|
|
||||||
$class->register_method({
|
$class->register_method({
|
||||||
name => 'status',
|
name => 'status',
|
||||||
|
Loading…
Reference in New Issue
Block a user