rename Core to Worker and move other packages around

This commit is contained in:
Oliver Gorwits
2017-09-03 18:45:00 +01:00
parent 4def0af0b0
commit 8eaa33770c
11 changed files with 71 additions and 67 deletions

View File

@@ -101,7 +101,7 @@ unless ($action) {
use NetAddr::IP qw/:rfc3021 :lower/;
use Dancer ':script';
use App::Netdisco::Core::Transport::SNMP;
use App::Netdisco::Transport::SNMP;
use App::Netdisco::Util::Device
qw/get_device delete_device renumber_device/;
@@ -145,7 +145,7 @@ unless ($action) {
$extra = $class;
undef $class;
}
my $i = App::Netdisco::Core::Transport::SNMP->reader_for($device, $class);
my $i = App::Netdisco::Transport::SNMP->reader_for($device, $class);
Data::Printer::p($i->$extra);
return ('done', sprintf "Showed %s response from %s.", $extra, $device->ip);
}