From: Wolfgang Bumiller Date: Thu, 26 Jan 2017 10:13:21 +0000 (+0100) Subject: REST/RPCEnvironment's check_worker is a method now X-Git-Url: https://git.proxmox.com/?p=pve-manager.git;a=commitdiff_plain;h=f70fc9ace90e6017c55507dabf9d0024c7efd18e REST/RPCEnvironment's check_worker is a method now --- diff --git a/PVE/API2/Tasks.pm b/PVE/API2/Tasks.pm index 0577942f..269abbd0 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; }});