fix: show actual refetch date
This commit is contained in:
parent
b0c795153a
commit
3e64c99b1c
@ -284,7 +284,7 @@ func GetKernels() (kernels []DebianKernel, err error) {
|
|||||||
if dk.Internal.Invalid {
|
if dk.Internal.Invalid {
|
||||||
refetch := dk.Internal.LastFetch.AddDate(0, 0, RefetchDays)
|
refetch := dk.Internal.LastFetch.AddDate(0, 0, RefetchDays)
|
||||||
if refetch.After(time.Now()) {
|
if refetch.After(time.Now()) {
|
||||||
slog.Debug().Msgf("refetch at %v", RefetchDays)
|
slog.Debug().Msgf("refetch at %v", refetch)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user