change noop to info, and some fixes
This commit is contained in:
@@ -76,7 +76,7 @@ register_worker({ phase => 'main', driver => 'snmp' }, sub {
|
||||
schema('netdisco')->resultset('Admin')
|
||||
->find({job => $job->id})->update({device => $new_ip});
|
||||
|
||||
return Status->noop(sprintf ' [%s] device - changed IP to %s (%s)',
|
||||
return Status->info(sprintf ' [%s] device - changed IP to %s (%s)',
|
||||
$old_ip, $device->ip, ($device->dns || ''));
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user