diff --git a/utils/metered_cache.go b/utils/metered_cache.go index cb1df85fad..17c86bdaa2 100644 --- a/utils/metered_cache.go +++ b/utils/metered_cache.go @@ -44,7 +44,7 @@ func dirSize(path string) (int64, error) { if !info.IsDir() { size += info.Size() } - return err + return nil }) return size, err }