aboutsummaryrefslogtreecommitdiff
path: root/pkg/worker
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-07-19 21:17:49 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-07-19 21:17:49 +0200
commitff6b55491dec7ad1973dda37a35e2d9f47f75bcb (patch)
tree9e4ff1e8773fe0ceac6a3e68b97e12742dda35a1 /pkg/worker
parent049b9acbd9635c206f5eeb01074b5d63803c4cd5 (diff)
downloadlens-ff6b55491dec7ad1973dda37a35e2d9f47f75bcb.tar.gz
lens-ff6b55491dec7ad1973dda37a35e2d9f47f75bcb.tar.bz2
lens-ff6b55491dec7ad1973dda37a35e2d9f47f75bcb.zip
ref: Fix linting errors
Diffstat (limited to 'pkg/worker')
-rw-r--r--pkg/worker/scanner/thumbnail_scanner.go2
1 files changed, 1 insertions, 1 deletions
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: "",
})