mirror of
https://github.com/rclone/rclone.git
synced 2025-01-09 15:58:28 +01:00
sftp: remove spurious error message on --sftp-disable-concurrent-reads
This commit is contained in:
parent
03bcf81c5e
commit
b26308c427
@ -429,10 +429,6 @@ func (f *Fs) newSftpClient(conn *ssh.Client, opts ...sftp.ClientOption) (*sftp.C
|
||||
sftp.UseConcurrentReads(!f.opt.DisableConcurrentReads),
|
||||
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...)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user