]> git.proxmox.com Git - pve-manager.git/blobdiff - PVE/VZDump.pm
vzdump: fix notifications for backing up VMs with 2+ disks to PBS
[pve-manager.git] / PVE / VZDump.pm
index 2671e3b1ef0a23bc933901848934d2ba381b0107..454ab4944d91c3b5f1884bd28cb00145db6228e3 100644 (file)
@@ -387,11 +387,11 @@ sub build_guest_table {
        my $size = $successful ? $task->{size} : 0;
        my $filename = $successful ? $task->{target} : undef;
        push @{$table->{data}}, {
-           "vmid" => $task->{vmid},
+           "vmid" => int($task->{vmid}),
            "name" => $task->{hostname},
            "status" => $task->{state},
-           "time" => $task->{backuptime},
-           "size" => $size,
+           "time" => int($task->{backuptime}),
+           "size" => int($size),
            "filename" => $filename,
        };
     }