From 8c50cd06e426e01fb7ba2efcb4ccde412f46c798 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Sat, 15 Jan 2022 17:11:08 -0500 Subject: [PATCH] machines: ensure the jobset name is present --- src/lib/Hydra/Controller/Root.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Controller/Root.pm b/src/lib/Hydra/Controller/Root.pm index 5860c307..2d8224a5 100644 --- a/src/lib/Hydra/Controller/Root.pm +++ b/src/lib/Hydra/Controller/Root.pm @@ -200,7 +200,7 @@ sub machines :Local Args(0) { $c->stash->{machines} = $machines; $c->stash->{steps} = dbh($c)->selectall_arrayref( - "select build, stepnr, s.system as system, s.drvpath as drvpath, machine, s.starttime as starttime, jobsets.project, jobsets.name, job, s.busy as busy " . + "select build, stepnr, s.system as system, s.drvpath as drvpath, machine, s.starttime as starttime, jobsets.project as project, jobsets.name as jobset, job, s.busy as busy " . "from BuildSteps s " . "join Builds b on s.build = b.id " . "join Jobsets jobsets on jobsets.id = b.jobset_id " .