forked from lix-project/hydra
Better error message if jobset doesn't evaluate to an attrset
This commit is contained in:
parent
7e3f12fe10
commit
585d3274e3
|
@ -628,6 +628,9 @@ sub checkJobsetWrapped {
|
|||
return;
|
||||
}
|
||||
|
||||
die "Jobset contains a job with an empty name. Make sure the jobset evaluates to an attrset of jobs.\n"
|
||||
if defined $jobs->{""};
|
||||
|
||||
$jobs->{$_}->{jobName} = $_ for keys %{$jobs};
|
||||
|
||||
my $jobOutPathMap = {};
|
||||
|
|
Loading…
Reference in a new issue