]> git.proxmox.com Git - pve-manager.git/commitdiff
Clean up unnecessary code.
authorWolfgang Link <w.link@proxmox.com>
Tue, 19 Sep 2017 10:01:15 +0000 (12:01 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 25 Sep 2017 13:45:28 +0000 (15:45 +0200)
The jobid is already parsed by the file parser.

PVE/API2/Replication.pm

index 154995089887af0e0cb4c5187a90e755839bf8a1..f396615d209bef49526f86334d03056e98aa0a68 100644 (file)
@@ -60,8 +60,6 @@ sub run_single_job {
 
        die "unable to sync to local node\n" if $jobcfg->{target} eq $local_node;
 
-       $jobcfg->{id} = $jobid;
-
        my $vmtype = $vms->{ids}->{$vmid}->{type};
 
        my $guest_class = $lookup_guest_class->($vmtype);