*headdesk*
DBIC::Class helpfully doesn't warn you when you're matching against unselected columns. So this query actually returned all builds...
This commit is contained in:
parent
2d7e106d29
commit
f037a318e3
|
@ -50,7 +50,7 @@ sub failDependents {
|
|||
|
||||
my @dependentBuilds = $db->resultset('Builds')->search(
|
||||
{ finished => 0, busy => 0 },
|
||||
{ columns => ["id", "project", "jobset", "job", "drvpath"] });
|
||||
{ columns => ["id", "project", "jobset", "job", "drvpath", "finished", "busy"] });
|
||||
|
||||
for my $d (@dependentBuilds) {
|
||||
next unless $dependentDrvs->has($d->drvpath);
|
||||
|
|
Loading…
Reference in a new issue