From ff6b55491dec7ad1973dda37a35e2d9f47f75bcb Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Wed, 19 Jul 2023 21:17:49 +0200 Subject: ref: Fix linting errors --- pkg/worker/scanner/thumbnail_scanner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/worker') diff --git a/pkg/worker/scanner/thumbnail_scanner.go b/pkg/worker/scanner/thumbnail_scanner.go index 8245ead..9f75464 100644 --- a/pkg/worker/scanner/thumbnail_scanner.go +++ b/pkg/worker/scanner/thumbnail_scanner.go @@ -35,7 +35,7 @@ func (t *ThumbnailScanner) Query(ctx context.Context) ([]*repository.Media, erro }) } -func (t *ThumbnailScanner) OnFail(ctx context.Context, media *repository.Media, err error) { +func (t *ThumbnailScanner) OnFail(ctx context.Context, media *repository.Media, _ error) { _ = t.repository.CreateThumbnail(ctx, media.ID, &repository.MediaThumbnail{ Path: "", }) -- cgit v1.2.3