1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-03 00:53:43 +00:00

mountlib: pass options in fsys not as args

This commit is contained in:
Nick Craig-Wood
2017-05-08 17:52:09 +01:00
parent bc9856b570
commit d127d8686a
2 changed files with 3 additions and 3 deletions

View File

@@ -165,7 +165,7 @@ func (f *File) OpenRead() (fh *ReadFileHandle, err error) {
}
fs.Debugf(o, "File.OpenRead")
fh, err = newReadFileHandle(f, o, f.d.fsys.noSeek)
fh, err = newReadFileHandle(f, o)
err = errors.Wrap(err, "open for read")
if err != nil {