phase fixups

This commit is contained in:
Oliver Gorwits
2017-10-07 11:31:59 +01:00
parent 273cbbc11b
commit b8108986fb
8 changed files with 234 additions and 226 deletions

View File

@@ -14,7 +14,7 @@ use Dancer::Plugin::DBIC 'schema';
use Time::HiRes 'gettimeofday';
use Scope::Guard 'guard';
register_worker({ phase => 'check', driver => 'snmp' }, sub {
register_worker({ phase => 'main', driver => 'snmp' }, sub {
my ($job, $workerconf) = @_;
my $device = $job->device;