#374 fix renumber cli command (earendilfr)
This commit is contained in:
6
Changes
6
Changes
@@ -1,3 +1,9 @@
|
|||||||
|
2.039004 - 2018-02-15
|
||||||
|
|
||||||
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* #374 fix renumber cli command (earendilfr)
|
||||||
|
|
||||||
2.039003 - 2018-02-12
|
2.039003 - 2018-02-12
|
||||||
|
|
||||||
[ENHANCEMENTS]
|
[ENHANCEMENTS]
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ use NetAddr::IP qw/:rfc3021 :lower/;
|
|||||||
use App::Netdisco::Util::Device qw/get_device renumber_device/;
|
use App::Netdisco::Util::Device qw/get_device renumber_device/;
|
||||||
|
|
||||||
register_worker({ phase => 'check' }, sub {
|
register_worker({ phase => 'check' }, sub {
|
||||||
|
my ($job, $workerconf) = @_;
|
||||||
|
|
||||||
return Status->error('Missing device (-d).')
|
return Status->error('Missing device (-d).')
|
||||||
unless defined shift->device;
|
unless defined shift->device;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user