forked from TrueCloudLab/rclone
sftp: remove spurious error message on --sftp-disable-concurrent-reads
This commit is contained in:
parent
c86a55c798
commit
6545755758
1 changed files with 0 additions and 4 deletions
|
@ -429,10 +429,6 @@ func (f *Fs) newSftpClient(conn *ssh.Client, opts ...sftp.ClientOption) (*sftp.C
|
||||||
sftp.UseConcurrentReads(!f.opt.DisableConcurrentReads),
|
sftp.UseConcurrentReads(!f.opt.DisableConcurrentReads),
|
||||||
sftp.UseConcurrentWrites(!f.opt.DisableConcurrentWrites),
|
sftp.UseConcurrentWrites(!f.opt.DisableConcurrentWrites),
|
||||||
)
|
)
|
||||||
if f.opt.DisableConcurrentReads { // FIXME
|
|
||||||
fs.Errorf(f, "Ignoring disable_concurrent_reads after library reversion - see #5197")
|
|
||||||
}
|
|
||||||
|
|
||||||
return sftp.NewClientPipe(pr, pw, opts...)
|
return sftp.NewClientPipe(pr, pw, opts...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue