Skip to content

Commit

Permalink
fixup! Use signatures in Resource::Locks
Browse files Browse the repository at this point in the history
  • Loading branch information
okurz committed Mar 14, 2024
1 parent 91abb21 commit 7126762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/OpenQA/Resource/Locks.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7126762

Please sign in to comment.