mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-12-31 02:03:18 +00:00
PVE/API2/Replication.pm: cleanup - avoid modifying jobcfg
This is simply no longer necessary.
This commit is contained in:
parent
1ab33d14d2
commit
a4beaa9422
@ -62,9 +62,9 @@ sub run_single_job {
|
||||
|
||||
$jobcfg->{id} = $jobid;
|
||||
|
||||
$jobcfg->{vmtype} = $vms->{ids}->{$vmid}->{type};
|
||||
my $vmtype = $vms->{ids}->{$vmid}->{type};
|
||||
|
||||
my $guest_class = $lookup_guest_class->($jobcfg->{vmtype});
|
||||
my $guest_class = $lookup_guest_class->($vmtype);
|
||||
PVE::Replication::run_replication($guest_class, $jobcfg, $now, $now, $logfunc);
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user