rename Discover.pm to Device.pm

This commit is contained in:
Oliver Gorwits
2013-04-13 14:50:10 +01:00
parent 3197e38819
commit 8a5306e056
3 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ if (!length $action) {
{ {
package MyWorker; package MyWorker;
use Moo; use Moo;
with 'App::Netdisco::Daemon::Worker::Poller::Discover'; with 'App::Netdisco::Daemon::Worker::Poller::Device';
} }
my $worker = MyWorker->new(); my $worker = MyWorker->new();

View File

@@ -9,7 +9,7 @@ use Role::Tiny;
use namespace::clean; use namespace::clean;
# add dispatch methods for poller tasks # add dispatch methods for poller tasks
with 'App::Netdisco::Daemon::Worker::Poller::Discover'; with 'App::Netdisco::Daemon::Worker::Poller::Device';
sub worker_body { sub worker_body {
my $self = shift; my $self = shift;

View File

@@ -1,4 +1,4 @@
package App::Netdisco::Daemon::Worker::Poller::Discover; package App::Netdisco::Daemon::Worker::Poller::Device;
use Dancer qw/:moose :syntax :script/; use Dancer qw/:moose :syntax :script/;
use Dancer::Plugin::DBIC 'schema'; use Dancer::Plugin::DBIC 'schema';