Update aggregate handling
(cherry picked from commit cf961ac8933b76d9f0a3ac3eb49cc08879f5bcc9)
This commit is contained in:
parent
15187b059b
commit
2a50daa377
@ -697,7 +697,7 @@ sub checkJobsetWrapped {
|
|||||||
foreach my $job (values %{$jobs}) {
|
foreach my $job (values %{$jobs}) {
|
||||||
next unless $job->{constituents};
|
next unless $job->{constituents};
|
||||||
my $x = $drvPathToId{$job->{drvPath}} or die;
|
my $x = $drvPathToId{$job->{drvPath}} or die;
|
||||||
foreach my $drvPath (split / /, $job->{constituents}) {
|
foreach my $drvPath (@{$job->{constituents}}) {
|
||||||
my $constituent = $drvPathToId{$drvPath};
|
my $constituent = $drvPathToId{$drvPath};
|
||||||
if (defined $constituent) {
|
if (defined $constituent) {
|
||||||
$db->resultset('AggregateConstituents')->update_or_create({aggregate => $x->{id}, constituent => $constituent->{id}});
|
$db->resultset('AggregateConstituents')->update_or_create({aggregate => $x->{id}, constituent => $constituent->{id}});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user