cache: documentation fix for cache-chunk-total-size - Fixes #2519

Signed-off-by: Anagh Kumar Baranwal <anaghk.dos@gmail.com>
This commit is contained in:
Anagh Kumar Baranwal 2018-09-04 16:55:16 +05:30 committed by Nick Craig-Wood
parent 6b8b9d19f3
commit 5a6750e1cd
3 changed files with 4 additions and 4 deletions

View file

@ -250,7 +250,7 @@ func NewFs(name, rootPath string, m configmap.Mapper) (fs.Fs, error) {
return nil, err
}
if opt.ChunkTotalSize < opt.ChunkSize*fs.SizeSuffix(opt.TotalWorkers) {
return nil, errors.Errorf("don't set cache-total-chunk-size(%v) less than cache-chunk-size(%v) * cache-workers(%v)",
return nil, errors.Errorf("don't set cache-chunk-total-size(%v) less than cache-chunk-size(%v) * cache-workers(%v)",
opt.ChunkTotalSize, opt.ChunkSize, opt.TotalWorkers)
}