diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-07-26 17:29:33 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-07-26 17:29:33 +0300 |
commit | 508db1906beb84058e6d4394c8805532035e7bd2 (patch) | |
tree | 9320b29114f608e95465f270c15dc2cb70d85a4a | |
parent | e5fe378925c16c75902bbb46499c376c530ebdb5 (diff) |
Revert "cache/filecache: Skip resource cache init if the fs is missing"
I need to revisit this.
This reverts commit da4c4a7789d403af3f4f4fdd5dfd3327535e4050.
-rw-r--r-- | cache/filecache/filecache.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cache/filecache/filecache.go b/cache/filecache/filecache.go index 216c280c2..bf004c8f7 100644 --- a/cache/filecache/filecache.go +++ b/cache/filecache/filecache.go @@ -330,9 +330,6 @@ func NewCaches(p *helpers.PathSpec) (Caches, error) { if v.isResourceDir { cfs = p.BaseFs.ResourcesCache - if cfs == nil { - continue - } } else { cfs = fs } |