mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-07 14:50:07 +00:00
vzdump: fix variable redeclaration warning
happened due to moving the code from another scope which had no $res, and not noticing as it was still working after all. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
277cdcb072
commit
2098f2ff87
@ -477,8 +477,8 @@ sub archive_pbs {
|
|||||||
|
|
||||||
$self->resume_vm_after_job_start($task, $vmid);
|
$self->resume_vm_after_job_start($task, $vmid);
|
||||||
|
|
||||||
my $res = $query_backup_status_loop->($self, $vmid, $backup_job_uuid);
|
my $stat = $query_backup_status_loop->($self, $vmid, $backup_job_uuid);
|
||||||
$task->{size} = $res->{total};
|
$task->{size} = $stat->{total};
|
||||||
};
|
};
|
||||||
my $err = $@;
|
my $err = $@;
|
||||||
if ($err) {
|
if ($err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user