From 7126762c5f85fbdb45736e37dabbb8e1bd62e5fd Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Thu, 14 Mar 2024 09:48:41 +0100 Subject: [PATCH] fixup! Use signatures in Resource::Locks --- lib/OpenQA/Resource/Locks.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenQA/Resource/Locks.pm b/lib/OpenQA/Resource/Locks.pm index 29c317af7468..afc0c2d75937 100644 --- a/lib/OpenQA/Resource/Locks.pm +++ b/lib/OpenQA/Resource/Locks.pm @@ -104,7 +104,7 @@ sub barrier_create ($name = undef, $jobid = undef, $expected_jobs = undef) { return $barrier; } -sub barrier_wait ($name = undef, $jobid = undef, $where = undef, $check_dead_job = 0) = @_; +sub barrier_wait ($name = undef, $jobid = undef, $where = undef, $check_dead_job = 0) { return -1 unless $name && $jobid; return -1 unless my $barrier = _get_lock($name, $jobid, $where);