[pve-devel] applied: [PATCH pve-manager] Clean up unnecessary code.
Wolfgang Bumiller
w.bumiller at proxmox.com
Mon Sep 25 15:50:40 CEST 2017
applied
On Tue, Sep 19, 2017 at 12:01:15PM +0200, Wolfgang Link wrote:
> The jobid is already parsed by the file parser.
> ---
> PVE/API2/Replication.pm | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/PVE/API2/Replication.pm b/PVE/API2/Replication.pm
> index 15499508..f396615d 100644
> --- a/PVE/API2/Replication.pm
> +++ b/PVE/API2/Replication.pm
> @@ -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);
> --
> 2.11.0
More information about the pve-devel
mailing list