[pve-devel] applied: [PATCH manager] REST/RPCEnvironment's check_worker is a method now

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


On Thu, Jan 26, 2017 at 11:13:21AM +0100, Wolfgang Bumiller wrote:
> ---
>  PVE/API2/Tasks.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/PVE/API2/Tasks.pm b/PVE/API2/Tasks.pm
> index 0577942..269abbd 100644
> --- a/PVE/API2/Tasks.pm
> +++ b/PVE/API2/Tasks.pm
> @@ -191,7 +191,7 @@ __PACKAGE__->register_method({
>  	    $rpcenv->check($user, "/nodes/$node", [ 'Sys.Modify' ]);
>  	}
>  
> -	PVE::RPCEnvironment::check_worker($param->{upid}, 1);
> +	PVE::RPCEnvironment->check_worker($param->{upid}, 1);
>  
>  	return undef;
>      }});
> -- 
> 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