mirror of
https://github.com/rclone/rclone.git
synced 2025-01-13 20:38:12 +02:00
sftp: remove spurious error message on --sftp-disable-concurrent-reads
This commit is contained in:
parent
c86a55c798
commit
6545755758
@ -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