fix: show actual refetch date
This commit is contained in:
		@@ -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
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user