aboutsummaryrefslogtreecommitdiff
path: root/pkg/worker
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-26 22:59:03 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-26 22:59:03 +0200
commit9ba53fea71728ce64342d0d59f4199876e4b6164 (patch)
tree5f06ef37ab8ac3d01a3a7c21b5c71b1e9fc11643 /pkg/worker
parent4d930c0c8cb585979798fac2bb254f991faa62fb (diff)
downloadlens-9ba53fea71728ce64342d0d59f4199876e4b6164.tar.gz
lens-9ba53fea71728ce64342d0d59f4199876e4b6164.tar.bz2
lens-9ba53fea71728ce64342d0d59f4199876e4b6164.zip
feat: Partially fix test
This will totally be fixed later.
Diffstat (limited to 'pkg/worker')
-rw-r--r--pkg/worker/file_scanner.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/worker/file_scanner.go b/pkg/worker/file_scanner.go
index fda869c..a51f60b 100644
--- a/pkg/worker/file_scanner.go
+++ b/pkg/worker/file_scanner.go
@@ -77,10 +77,6 @@ func (f *FileScanner) Process(ctx context.Context, path string) error {
return nil
}
- if errResp != nil {
- return errResp
- }
-
return f.repository.Create(ctx, &media.CreateMedia{
Name: name,
Path: path,