From d0fb3cbf8f0fcc6776cd4c5f6dc2ab0199c2f312 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Fri, 20 Aug 2021 21:26:50 -0400 Subject: [PATCH] Job: $b -> $build (perlcritic) --- src/lib/Hydra/Controller/Job.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/Hydra/Controller/Job.pm b/src/lib/Hydra/Controller/Job.pm index efaa508e..a9e65f76 100644 --- a/src/lib/Hydra/Controller/Job.pm +++ b/src/lib/Hydra/Controller/Job.pm @@ -121,10 +121,10 @@ sub overview : Chained('job') PathPart('') Args(0) { my $aggregates = {}; my %constituentJobs; - foreach my $b (@constituents) { - $aggregates->{$b->get_column('aggregate')}->{constituents}->{$b->job} = - { id => $b->id, finished => $b->finished, buildstatus => $b->buildstatus }; - $constituentJobs{$b->job} = 1; + foreach my $build (@constituents) { + $aggregates->{$build->get_column('aggregate')}->{constituents}->{$build->job} = + { id => $build->id, finished => $build->finished, buildstatus => $build->buildstatus }; + $constituentJobs{$build->job} = 1; } foreach my $agg (keys %$aggregates) {