bug fixes

This commit is contained in:
Oliver Gorwits
2013-03-26 22:57:06 +00:00
parent 48f779a8d0
commit cfcb7a956f
2 changed files with 4 additions and 3 deletions

View File

@@ -42,7 +42,8 @@ sub worker_begin {
sub worker_body {
my $self = shift;
my $wid = $self->wid;
my $num_slots = $self->do('num_workers');
my $num_slots = $self->do('num_workers')
or return warning "mgr ($wid): this node has no workers... quitting manager";
# get some pending jobs
my $rs = schema('netdisco')->resultset('Admin')