backend/cache: Print correct info about Cache Writes

This commit is contained in:
Florian Gamboeck 2018-10-26 16:04:39 +02:00 committed by Nick Craig-Wood
parent e76cf1217f
commit 696e7b2833

View File

@ -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")
}