drive: fix merge breakage

In 2f5a2d3c48 an incorrect merge caused compilation to fail
This commit is contained in:
Nick Craig-Wood 2020-05-01 13:00:53 +01:00
parent a97261c54f
commit b52a39a84e
1 changed files with 1 additions and 1 deletions

View File

@ -1790,7 +1790,7 @@ func (f *Fs) ListR(ctx context.Context, dir string, callback fs.ListRCallback) (
// itemToDirEntry converts a drive.File to a fs.DirEntry.
// When the drive.File cannot be represented as a fs.DirEntry
// (nil, nil) is returned.
func (f *Fs) itemToDirEntry(remote string, item *drive.File) (fs.DirEntry, error) {
func (f *Fs) itemToDirEntry(remote string, item *drive.File) (entry fs.DirEntry, err error) {
switch {
case item.MimeType == driveFolderType:
// cache the directory ID for later lookups