Remove redundant check

This commit is contained in:
Eelco Dolstra 2017-11-28 17:16:21 +01:00
parent d0b19d3172
commit 2660c3cc54
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -356,8 +356,6 @@ sub evalJobs {
my $nixExprInput = $inputInfo->{$nixExprInputName}->[0] my $nixExprInput = $inputInfo->{$nixExprInputName}->[0]
or die "cannot find the input containing the job expression\n"; or die "cannot find the input containing the job expression\n";
die "multiple alternatives for the input containing the Nix expression are not supported.\n"
if scalar @{$inputInfo->{$nixExprInputName}} != 1;
my $evaluator = ($exprType eq "guile") ? "hydra-eval-guile-jobs" : "hydra-eval-jobs"; my $evaluator = ($exprType eq "guile") ? "hydra-eval-guile-jobs" : "hydra-eval-jobs";