Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

cache: fix lint error in latest golangci-lint

Nick Craig-Woodc37b6b1a4310
diff --git a/backend/cache/cache.go b/backend/cache/cache.go
index 5c4e5dc87..dd16642c9 100644
--- a/backend/cache/cache.go
+++ b/backend/cache/cache.go
@@ -1038,7 +1038,7 @@ func (f *Fs) List(ctx context.Context, dir string) (entries fs.DirEntries, err e
}
fs.Debugf(dir, "list: remove entry: %v", entryRemote)
}
- entries = nil
+ entries = nil //nolint:ineffassign
// and then iterate over the ones from source (temp Objects will override source ones)
var batchDirectories []*Directory