]> git.proxmox.com Git - pve-guest-common.git/commitdiff
PVE/ReplicationConfig.pm: store job id inside job config
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 20 Jun 2017 11:19:53 +0000 (13:19 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 20 Jun 2017 11:19:53 +0000 (13:19 +0200)
To simplify code.

PVE/ReplicationConfig.pm

index 1e813dd55dc57af7a5a2a0b90e62cefeb134b2a4..5ad1f9bb3337b2a42986a1e265f7458cbd4497e2 100644 (file)
@@ -124,6 +124,7 @@ sub parse_config {
 
        $data->{guest} = $guest;
        $data->{jobnum} = $jobnum;
+       $data->{id} = $id;
 
        $data->{comment} = PVE::Tools::decode_text($data->{comment})
            if defined($data->{comment});