Skip to content

Commit

Permalink
Remove unused variable in worker slot picker
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Jul 2, 2024
1 parent e2789e2 commit 5edd98e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/OpenQA/Scheduler/WorkerSlotPicker.pm
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ sub pick_slots_with_common_worker_host ($self) {
my $matching_worker_slots_by_host = $self->{_matching_worker_slots_by_host};
my $visited_worker_slots_by_id = $self->{_visited_worker_slots_by_id};
for my $job (@$to_be_scheduled) {
my $matching_workers = $job->{matching_workers};
# go through the list of matching worker slots and pick one slot per host
my $visited_worker_slots_by_host = $self->_pick_one_matching_slot_per_host($job);

Expand Down

0 comments on commit 5edd98e

Please sign in to comment.