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
1 changed files with 3 additions and 0 deletions
|
@ -628,6 +628,9 @@ sub checkJobsetWrapped {
|
||||||
return;
|
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};
|
$jobs->{$_}->{jobName} = $_ for keys %{$jobs};
|
||||||
|
|
||||||
my $jobOutPathMap = {};
|
my $jobOutPathMap = {};
|
||||||
|
|
Loading…
Reference in a new issue