cache: fix lint error in latest golangci-lint

This commit is contained in:
Nick Craig-Wood 2023-02-06 10:44:40 +00:00
parent 0328878e46
commit c37b6b1a43

View File

@ -1038,7 +1038,7 @@ func (f *Fs) List(ctx context.Context, dir string) (entries fs.DirEntries, err e
}
fs.Debugf(dir, "list: remove entry: %v", entryRemote)
}
entries = nil
entries = nil //nolint:ineffassign
// and then iterate over the ones from source (temp Objects will override source ones)
var batchDirectories []*Directory