#949 replace other occurances of now() with LOCALTIMESTAMP

This commit is contained in:
Oliver Gorwits
2023-03-03 14:17:38 +00:00
parent 29402f0726
commit d9a384d1d0
15 changed files with 33 additions and 33 deletions

View File

@@ -58,7 +58,7 @@ register_worker({ phase => 'early', driver => 'snmp' }, sub {
$device->set_column( snmp_class => $snmp->class );
$device->set_column( snmp_engineid => unpack('H*', ($snmp->snmpEngineID || '')) );
$device->set_column( last_discover => \'now()' );
$device->set_column( last_discover => \'LOCALTIMESTAMP' );
# protection for failed SNMP gather
if ($device->in_storage and not $device->is_pseudo) {