forked from lix-project/hydra
Fix not-null constraint violation inserting build step
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: ERROR: null value in column "machine" violates not-null constraint
This commit is contained in:
parent
aec0a35114
commit
9e664cf8b0
|
@ -210,7 +210,7 @@ sub doBuild {
|
|||
my $now = time;
|
||||
my $stepStartTime = $now;
|
||||
my $stepStopTime = $now;
|
||||
my $machine = undef;
|
||||
my $machine = "";
|
||||
txn_do($db, sub {
|
||||
if ($buildSteps{$drvPathStep}) {
|
||||
my $step = $build->buildsteps->find({stepnr => $buildSteps{$drvPathStep}}) or die;
|
||||
|
|
Loading…
Reference in a new issue