[pve-devel] [PATCH common] RESTEnvironment: let check_worker take a $self
Wolfgang Bumiller
w.bumiller at proxmox.com
Thu Jan 26 11:13:20 CET 2017
---
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
More information about the pve-devel
mailing list