1
0
Fork 0

fix: show actual refetch date

master
dump_stack() 2023-05-15 15:29:23 +00:00
parent b0c795153a
commit 3e64c99b1c
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ func GetKernels() (kernels []DebianKernel, err error) {
if dk.Internal.Invalid {
refetch := dk.Internal.LastFetch.AddDate(0, 0, RefetchDays)
if refetch.After(time.Now()) {
slog.Debug().Msgf("refetch at %v", RefetchDays)
slog.Debug().Msgf("refetch at %v", refetch)
continue
}
}