We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea09952 + 6d92b79 commit 1c43f45Copy full SHA for 1c43f45
1 file changed
src/script/hydra-eval-jobset
@@ -773,6 +773,9 @@ sub checkJobsetWrapped {
773
my $jobsetChanged = 0;
774
my %buildMap;
775
776
+ my @jobs;
777
+ push @jobs, $_ while defined($_ = $jobsIter->());
778
+
779
$db->txn_do(sub {
780
my $prevEval = getPrevJobsetEval($db, $jobset, 1);
781
@@ -796,7 +799,7 @@ sub checkJobsetWrapped {
796
799
797
800
my @jobsWithConstituents;
798
801
- while (defined(my $job = $jobsIter->())) {
802
+ foreach my $job (@jobs) {
803
if ($jobsetsJobset) {
804
die "The .jobsets jobset must only have a single job named 'jobsets'"
805
unless $job->{attr} eq "jobsets";
0 commit comments