[pve-devel] applied: [PATCH common] RESTEnvironment: let check_worker take a $self

Fabian Grünbichler f.gruenbichler at proxmox.com
Fri Jan 27 10:42:18 CET 2017


On Thu, Jan 26, 2017 at 11:13:20AM +0100, Wolfgang Bumiller wrote:
> ---
>  src/PVE/RESTEnvironment.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/PVE/RESTEnvironment.pm b/src/PVE/RESTEnvironment.pm
> index 6cf422f..6c1ed59 100644
> --- a/src/PVE/RESTEnvironment.pm
> +++ b/src/PVE/RESTEnvironment.pm
> @@ -358,7 +358,7 @@ my $kill_process_group = sub {
>  };
>  
>  sub check_worker {
> -    my ($upid, $killit) = @_;
> +    my ($self, $upid, $killit) = @_;
>  
>      my $task = PVE::Tools::upid_decode($upid);
>  
> -- 
> 2.1.4
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel




More information about the pve-devel mailing list