bug fixes

This commit is contained in:
Oliver Gorwits
2017-10-06 07:48:58 +01:00
parent b58a5816a9
commit 8b660a89c0
8 changed files with 10 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ use App::Netdisco::Transport::SNMP;
register_worker({ stage => 'check' }, sub {
return Status->error('Missing device (-d).')
unless defined (shift)->device;
unless defined shift->device;
return Status->done('Location is able to run');
});