mirror of
https://github.com/Luzifer/go-latestver.git
synced 2024-12-20 10:31:16 +00:00
Fix: Write change log with current time
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
230d9211ee
commit
0d3781fc26
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ func checkForUpdates(ce *database.CatalogEntry) error {
|
|||
if err = storage.Logs.Add(&database.LogEntry{
|
||||
CatalogName: ce.Name,
|
||||
CatalogTag: ce.Tag,
|
||||
Timestamp: vertime,
|
||||
Timestamp: time.Now().Truncate(time.Second).UTC(),
|
||||
VersionTo: ver,
|
||||
VersionFrom: cm.CurrentVersion,
|
||||
}); err != nil {
|
||||
|
|
Loading…
Reference in a new issue