PVE/API2/Replication.pm: cleanup - avoid modifying jobcfg

This is simply no longer necessary.
This commit is contained in:
Dietmar Maurer 2017-06-29 07:45:57 +02:00
parent 1ab33d14d2
commit a4beaa9422

View File

@ -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);
};