hydra: fixed missing argument to restartbuild function

This commit is contained in:
Rob Vermaas
2010-12-07 13:25:29 +00:00
parent cd7742f610
commit 4fdd011b2d
2 changed files with 2 additions and 1 deletions

View File

@ -362,7 +362,7 @@ sub restart : Chained('build') PathPart Args(0) {
error($c, "This build cannot be restarted.")
unless $build->finished && -f $drvpath ;
restartBuild($build);
restartBuild($c->model('DB')->schema, $build);
$c->flash->{buildMsg} = "Build has been restarted.";