vfs: fix issue where empty dirs would build up in cache meta dir
This commit is contained in:
parent
9a2811f0b2
commit
18be4ad10d
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ func New(ctx context.Context, fremote fs.Fs, opt *vfscommon.Options, avFn AddVir
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrap(err, "failed to create cache remote")
|
return nil, errors.Wrap(err, "failed to create cache remote")
|
||||||
}
|
}
|
||||||
fcacheMeta, err := fscache.Get(ctx, root)
|
fcacheMeta, err := fscache.Get(ctx, metaRoot)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrap(err, "failed to create cache meta remote")
|
return nil, errors.Wrap(err, "failed to create cache meta remote")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue