Merge pull request #1374 from Mindavi/bugfix/rendering-issue-content-addressed

ca-derivations: fix rendering issue
This commit is contained in:
John Ericson
2024-04-18 13:08:30 -04:00
committed by GitHub
3 changed files with 15 additions and 2 deletions

View File

@ -190,6 +190,10 @@ sub findLog {
return undef if scalar @outPaths == 0;
# Filter out any NULLs. Content-addressed derivations
# that haven't built yet or failed to build may have a NULL outPath.
@outPaths = grep {defined} @outPaths;
my @steps = $c->model('DB::BuildSteps')->search(
{ path => { -in => [@outPaths] } },
{ select => ["drvpath"]