From 696e7b2833f5c90bcb40960a1c8207e8e44a1eb1 Mon Sep 17 00:00:00 2001 From: Florian Gamboeck Date: Fri, 26 Oct 2018 16:04:39 +0200 Subject: [PATCH] backend/cache: Print correct info about Cache Writes --- backend/cache/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }