[pve-devel] applied: [RFC manager] fix #1997: set taskid for single-guest backups
Wolfgang Bumiller
w.bumiller at proxmox.com
Thu Jan 3 09:22:59 CET 2019
applied both patches
On Wed, Nov 28, 2018 at 10:51:40AM +0100, Fabian Grünbichler wrote:
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
> RFC because I am not sure whether we really want this - see bug for discussion.
>
> PVE/API2/VZDump.pm | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/PVE/API2/VZDump.pm b/PVE/API2/VZDump.pm
> index 448917a8..4368f91b 100644
> --- a/PVE/API2/VZDump.pm
> +++ b/PVE/API2/VZDump.pm
> @@ -163,7 +163,10 @@ __PACKAGE__->register_method ({
> }
> }
>
> - return $rpcenv->fork_worker('vzdump', undef, $user, $worker);
> + my $taskid;
> + $taskid = $vmids[0] if scalar(@vmids) == 1;
> +
> + return $rpcenv->fork_worker('vzdump', $taskid, $user, $worker);
> }});
>
> __PACKAGE__->register_method ({
> --
> 2.19.2
More information about the pve-devel
mailing list