diff options
Diffstat (limited to 'internal/importer/http.go')
-rw-r--r-- | internal/importer/http.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/importer/http.go b/internal/importer/http.go index 1bf2428..6d60c44 100644 --- a/internal/importer/http.go +++ b/internal/importer/http.go @@ -44,7 +44,11 @@ func fetchFileIfNeeded(ctx context.Context, path string, url string) (needed boo case http.StatusOK: newMtime, err := time.Parse(time.RFC1123, res.Header.Get("Last-Modified")) if err != nil { - slog.Warn("could not parse Last-Modified header from response", "value", res.Header.Get("Last-Modified")) + slog.Warn( + "could not parse Last-Modified header from response", + "value", + res.Header.Get("Last-Modified"), + ) } err = file.WriteToFile(path, res.Body) if err != nil { |