#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

@@ -28,7 +28,7 @@ my $clean = sub {
serial => $device->serial,
model => $device->model,
fru => \'false',
last_discover => \'now()',
last_discover => \'LOCALTIMESTAMP',
});
};
@@ -95,7 +95,7 @@ register_worker({ phase => 'main', driver => 'snmp' }, sub {
serial => Encode::decode('UTF-8', $e_serial->{$entry}),
fru => $e_fru->{$entry},
description => Encode::decode('UTF-8', $e_descr->{$entry}),
last_discover => \'now()',
last_discover => \'LOCALTIMESTAMP',
};
}