api: replication job status: allow querying disabled jobs too
Rather than failing with an error claiming that the job doesn't exist. The disabled status will be visible in the result of the call. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
8bb027f820
commit
e81a10a4ab
@ -296,7 +296,7 @@ __PACKAGE__->register_method ({
|
||||
my $rpcenv = PVE::RPCEnvironment::get();
|
||||
my $authuser = $rpcenv->get_user();
|
||||
|
||||
my $jobs = PVE::ReplicationState::job_status();
|
||||
my $jobs = PVE::ReplicationState::job_status(1);
|
||||
my $jobid = $param->{id};
|
||||
my $jobcfg = $jobs->{$jobid};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user