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

backend/cache: Print correct info about Cache Writes

Florian Gamboeck696e7b2833f5
diff --git a/backend/cache/cache.go b/backend/cache/cache.go
index b613df377..1b6c40e18 100644
--- a/backend/cache/cache.go
+++ b/backend/cache/cache.go
@@ -471,7 +471,7 @@ func NewFs(name, rootPath string, m configmap.Mapper) (fs.Fs, error) {
fs.Infof(name, "Chunk Clean Interval: %v", f.opt.ChunkCleanInterval)
fs.Infof(name, "Workers: %v", f.opt.TotalWorkers)
fs.Infof(name, "File Age: %v", f.opt.InfoAge)
- if !f.opt.StoreWrites {
+ if f.opt.StoreWrites {
fs.Infof(name, "Cache Writes: enabled")
}