change noop to info, and some fixes

This commit is contained in:
Oliver Gorwits
2017-11-25 12:29:08 +00:00
parent de594c647f
commit 26b4bdb907
16 changed files with 54 additions and 58 deletions

View File

@@ -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 || ''));
});
});